-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 loading with typescript 2.4 #1237
Comments
This is caused by introduction of additional restrictions on "weak" types in TypeScript 2.4.
React.DomAttributes is a weak type. |
I have a PR out to change |
Hi, I've updated to
I've check source code in node_modules to make sure I am using a version with this fix and it looks good: src/components/collapse/collapse.tsx, line 127 dist/components/collapse/collapse.d.ts, line 46-53
I'm not sure if |
@jacekjagiello you need to upgrade to |
@adidahiya you're right, thanks a lot ;) |
Bug report
With typescript 2.4 I get this error (The error was not present with typescript 2.3.3):
my package.json dependencies:
My tsconfig
The text was updated successfully, but these errors were encountered: