-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
error TS2604: JSX element type 'AppBar' does not have any construct or call signatures #11698
Comments
Mentioned code worked with TS 2.8.3 and MUI 1.1. Are there any breaking incompatibilities between 1.1 and 1.2? |
@gsbelarus Do you use Looks like the issue happens when this option is enabled. |
yes, I have allowSyntheticDefaultImports = true |
The fix will be in the next TS release (v2.9.2): microsoft/TypeScript#24528 (comment) |
Ok. Will wait and check then and reopen if needed. |
@gsbelarus could you try reproduce the issue with |
works well with TS3.0.0. |
@mctep @gsbelarus I tried with |
Issue with material-ui v1 and TS 2.9: <mui/material-ui#11698>
I am also still seeing this on [email protected] |
After upgrading to TS 2.9.1 and MUI 1.2 I have a bunch or errors during compilation:
error TS2604: JSX element type 'AppBar' does not have any construct or call signatures.
error TS2604: JSX element type 'Toolbar' does not have any construct or call signatures.
error TS2604: JSX element type 'Button' does not have any construct or call signatures.
error TS2604: JSX element type 'Component' does not have any construct or call signatures.
The text was updated successfully, but these errors were encountered: