-
-
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
Regression: union typed prop has wrong type in setup #3357
Labels
Comments
07akioni
changed the title
Regression: Union typed prop has wrong type in setup
Regression: union typed prop has wrong type in setup
Mar 4, 2021
I'm sure this can be fixed in #3119 |
Workaround
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.7
Reproduction link
https://codesandbox.io/s/union-prop-307-rixqq?file=/src/index.ts
Steps to reproduce
3.0.6(ok) https://codesandbox.io/s/union-prop-306-nxhiw?file=/src/index.ts:0-545
3.0.7(not ok) https://codesandbox.io/s/union-prop-307-rixqq?file=/src/index.ts
What is expected?
Type shouldn't union with
xxx & {}
What is actually happening?
Type is broken
It possibly has the same reason of #3119
The text was updated successfully, but these errors were encountered: