-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Generic type 'UIEvent<T>' requires between 0 and 1 type arguments. #4174
Comments
@luciancaetano what version of |
@adidahiya I am using the default version automatically installed when I run the npm install command 16.9.11 |
And which version of typescript? If you can demonstrate the issue with a code sandbox (as linked in the issue template), it helps me debug issues much faster. |
Hi @adidahiya, I'm facing this issue after bumping my Here's a codesandbox showing the dependencies list, but I'm not sure if it shows typescript type errors that we're experiencing... Environment
Upon building, typescript returns the same errors as mentioned above:
TL;DR: I think it happens because there are changes in (or before) Tracing and solution(s) (note: in these pictures, the breadcrumbs ( The error seems to occur in MyProject/node_modules/@blueprintjs/core If I "Go To Definition" of My VSCode says this file is MyProject/node_modules/@types/react By changing the typing of Sorry if I should have been following a certain template or if it's possible to have provided a more extensive demo in |
I've started seeing this exact issue as well. Did a clean reinstall recently and it started popping up. "@blueprintjs/core": "3.17.1", "react": "16.8.6", |
Can you all try upgrading to the latest |
(palantir/blueprint#4174) "@types/react": "^17.0.2" "@types/react-dom": "^17.0.1"
Environment
"@blueprintjs/core": "^3.28.2"
"@blueprintjs/icons": "^3.18.1"
"react": "^16.13.1"
Actual behavior
Outdated types
ERROR in [at-loader] ./node_modules/@blueprintjs/core/lib/esm/components/divider/divider.d.ts:258:28
TS2707: Generic type 'UIEvent' requires between 0 and 1 type arguments.
ERROR in [at-loader] ./node_modules/@blueprintjs/core/lib/esm/components/divider/divider.d.ts:259:35
TS2707: Generic type 'UIEvent' requires between 0 and 1 type arguments.
The text was updated successfully, but these errors were encountered: