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.0.7
https://codesandbox.io/s/union-prop-307-rixqq?file=/src/index.ts
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
Type shouldn't union with xxx & {}
xxx & {}
Type is broken
It possibly has the same reason of #3119
The text was updated successfully, but these errors were encountered:
I'm sure this can be fixed in #3119
Sorry, something went wrong.
Workaround
prop: xxx => prop: { type: xxx, default: undefined }
fix(types): union function prop (#3119)
3755e60
fix #3357
Successfully merging a pull request may close this issue.
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: