-
-
Notifications
You must be signed in to change notification settings - Fork 10
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 decorator typing errors for custom params on a class component #74
Comments
Thanks for reporting that. ❤️ |
We now having the tpe definitions as extra types folder instead of the single index.d.ts file. re #74
🎉 This issue has been resolved in version 4.3.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sorry I made a mistake ... it worked locally but the released version has the same issue :( |
https://codesandbox.io/s/reverent-bogdan-9jnce?file=/src/index.tsx Now i have it ... again sorry for the inconveniences. Hope that it helps and thanks again for reporting. |
When using the
@themr
decorator on a React class component, if there are custom parameters (such as a parameter holding a ref) then Typescript gives the following error:Simple example here: https://codesandbox.io/s/flamboyant-wiles-bu7m3
The text was updated successfully, but these errors were encountered: