You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading to v1.0.0-rc.4, I'm getting a lot of type errors on components using props with a default value.
It looks like #655 introduced this regression.
Using the following component, the props argument of setup() is typed differently between rc.3 and rc.4:
When upgrading to v1.0.0-rc.4, I'm getting a lot of type errors on components using props with a default value.
It looks like #655 introduced this regression.
Using the following component, the
props
argument ofsetup()
is typed differently between rc.3 and rc.4:rc.3:
rc.4:
rc.4 is incorrect here as the
id
prop will never beundefined
at runtime, as it receives the default value if one wasn't provided.The text was updated successfully, but these errors were encountered: