-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[Typescript] Button type attribute typing needs to be updated #15076
Comments
The problem surfaced because of a change in @types/react: DefinitelyTyped/DefinitelyTyped#34194. To prevent the issue either pin @types/react to a previous version or use a fork of Button.d.ts with paths alias. |
Released as v3.9.3. |
@oliviertassinari Is there an example somewhere of how to properly override with the Currently doing this:
...
but have a feeling I have done something wrong. We are on a very old version of |
The typings for the
type
attribute onButton
no longer matches the typing in@types/react
since commit: DefinitelyTyped/DefinitelyTyped@4d371beThe text was updated successfully, but these errors were encountered: