We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.2.8
codesandbox.io
Define props
{ props: { date: [Date, Number] }, setup(props) { // type is string | number props.date }
props.date should be of type Date | number
props.date is of type string | number
This is likely related to #2668
The text was updated successfully, but these errors were encountered:
Date
i think have the same problem with defineProps, so I mentioned another PR to fixed it
defineProps
Sorry, something went wrong.
types(runtime-core): fix for multiple possible prop types including D…
4645a42
…ate (#4518) fix #4517
Successfully merging a pull request may close this issue.
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: