-
-
Notifications
You must be signed in to change notification settings - Fork 520
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 error with version 3.3.0 #477
Comments
I'm also facing same issue, any solution ? |
As this error is in community-powered @types repo, there's nothing we can do here on React-Calendar side. |
You must type your state like the
|
FYI, React-Calendar is now natively in TypeScript, as of #785, coming to npm very soon. |
Error
Using the sample code from the GitHub README, I receive the following error. I have installed the @types package also since I am using TypeScript.
Code
My JSX snippet is:
Same error is observed even is I use default
new Date
foruseState
hook.Dependencies
The text was updated successfully, but these errors were encountered: