Setting "Date" type as props will infer to string in the setup function #2668
Labels
has PR
A pull request has already been submitted to solve the issue
has workaround
A workaround has been found to avoid the problem
scope: types
Version
3.0.2
Reproduction link
https://codesandbox.io/s/laughing-galois-gh0q4
Steps to reproduce
define props
What is expected?
props.date should be Date type
What is actually happening?
props.date is string type
The text was updated successfully, but these errors were encountered: