prop with type: [String, Number]
is inferred as string | number | Date
#4525
Labels
❗ p4-important
Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
🐞 bug
Something isn't working
scope: types
Version
3.2.9
Reproduction link
codesandbox.io
this is a regression, 3.2.8 has no error
Steps to reproduce
see link
What is expected?
string | number
What is actually happening?
string | number | Date
The text was updated successfully, but these errors were encountered: