Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find namespace JSX #1353

Open
precious-void opened this issue Feb 19, 2020 · 2 comments
Open

Cannot find namespace JSX #1353

precious-void opened this issue Feb 19, 2020 · 2 comments

Comments

@precious-void
Copy link

Getting error log:

node_modules/preact-material-components/Button/index.d.ts(18,41): error TS2503: Cannot find namespace 'JSX'.
node_modules/preact-material-components/Button/index.d.ts(22,40): error TS2503: Cannot find namespace 'JSX'.
node_modules/preact-material-components/FormField/index.d.ts(2,42): error TS2503: Cannot find namespace 'JSX'.
node_modules/preact-material-components/FormField/index.d.ts(10,40): error TS2503: Cannot find namespace 
'JSX'.
node_modules/preact-material-components/Icon/index.d.ts(9,40): error TS2503: Cannot find namespace 'JSX'.[0] node_modules/preact-material-components/LayoutGrid/index.d.ts(10,40): error TS2503: Cannot find namespace 'JSX'.
node_modules/preact-material-components/LayoutGrid/index.d.ts(38,40): error TS2503: Cannot find namespace 'JSX'.
node_modules/preact-material-components/LayoutGrid/index.d.ts(47,40): error TS2503: Cannot find namespace 'JSX'.
node_modules/preact-material-components/Radio/index.d.ts(16,43): error TS2503: Cannot find namespace 'JSX'.
node_modules/preact-material-components/TextField/index.d.ts(14,40): error TS2503: Cannot find namespace 
'JSX'.
node_modules/preact-material-components/TextField/index.d.ts(23,40): error TS2503: Cannot find namespace 
'JSX'.
node_modules/preact-material-components/TextField/index.d.ts(60,43): error TS2503: Cannot find namespace 
'JSX'.
node_modules/preact-material-components/TextField/index.d.ts(84,72): error TS2503: Cannot find namespace 
'JSX'.
node_modules/preact-material-components/TextField/index.d.ts(94,28): error TS2503: Cannot find namespace 
'JSX'.

Is there any ideas how to solve it?

@prateekbh
Copy link
Owner

yeah sorry! this project is not ready for PreactX as of yet

@precious-void
Copy link
Author

@prateekbh well, I`m waiting for the update!
And thanks for you and all contributors, great project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants