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
I have exactOptionalPropertyTypes enable and after upgrading to Vuetify 3.4.0 some of the components now have a different type for optional props.
For example VProgressLinear has color?: string | undefined; but also now reverse?: boolean which doesn't allow undefined.
This is an issue for me because optional props in Vue seem to be undefined in templates, so enabling exactOptionalPropertyTypes generates errors.
I'm not sure if that's a bug/regression or not, should I create an issue for this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have
exactOptionalPropertyTypes
enable and after upgrading to Vuetify 3.4.0 some of the components now have a different type for optional props.For example
VProgressLinear
hascolor?: string | undefined;
but also nowreverse?: boolean
which doesn't allowundefined
.This is an issue for me because optional props in Vue seem to be
undefined
in templates, so enablingexactOptionalPropertyTypes
generates errors.I'm not sure if that's a bug/regression or not, should I create an issue for this?
Beta Was this translation helpful? Give feedback.
All reactions