Skip to content
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

prop with type: [String, Number] is inferred as string | number | Date #4525

Closed
07akioni opened this issue Sep 6, 2021 · 1 comment · Fixed by #4530
Closed

prop with type: [String, Number] is inferred as string | number | Date #4525

07akioni opened this issue Sep 6, 2021 · 1 comment · Fixed by #4530
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working scope: types

Comments

@07akioni
Copy link
Contributor

07akioni commented Sep 6, 2021

Version

3.2.9

Reproduction link

codesandbox.io

image

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

@edison1105 edison1105 added 🐞 bug Something isn't working scope: types labels Sep 6, 2021
@posva posva added the ❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. label Sep 6, 2021
yyx990803 pushed a commit that referenced this issue Sep 6, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working scope: types
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants