-
Notifications
You must be signed in to change notification settings - Fork 329
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
Type 'Date' is not assignable to type 'Moment' #300
Comments
@sniib Yes, it accepts both Moment & Date. |
@chungweileong94 Did you patch the TS definition? Please submit a PR with the fixes. |
@peacechen Just create a PR for that. |
peacechen
pushed a commit
that referenced
this issue
Jun 8, 2021
Fix published in 2.2.3. Thanks for the PR @chungweileong94 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
selectedDate, minDate, maxDate , startingDate props give the above ts error when passing date instead of moment date. According to docs those props should accept dates as well.
The text was updated successfully, but these errors were encountered: