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

fix(runtime-core): script-setup+ts: ensure proper hanlding of null as default prop value in types. (fix #4868) #4979

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

LinusBorg
Copy link
Member

@LinusBorg LinusBorg commented Nov 20, 2021

null was missing from the list of primitive types in InferDefault, so it caused a type error when used in withDefaults()

fix: #4868

@yyx990803 yyx990803 merged commit f2d2d7b into master Nov 25, 2021
@yyx990803 yyx990803 deleted the linusborg/fix-null-as-prop-default-4868 branch November 25, 2021 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Script Setup nullable prop type causes compile error
2 participants