-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
"Date" is inferred as string when specified as one of multiple possible prop types #4517
Comments
i think have the same problem with |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.2.8
Reproduction link
codesandbox.io
Steps to reproduce
Define props
What is expected?
props.date should be of type Date | number
What is actually happening?
props.date is of type string | number
This is likely related to #2668
The text was updated successfully, but these errors were encountered: