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
After the Vue 3.5 upgrade, we get type errors about private types from the ErrorMessage or Field components.:
Default export of the module has or is using private name 'FieldSlotProps'
Default export of the module has or is using private name 'ErrorMessageSlotProps'
Due to these errors we get serialization errors in TypeScript which cascades through the whole project.
The issue did not occur before we upgraded to Vue 3.5 but only happens for the vee-validate package.
Reproduction steps
Install vee-validate in a new Vue project (using vue-create)
Create a new (.ts) file defining a component:
import{ErrorMessage,Field,Form}from'vee-validate'import{defineComponent}from'vue'exportdefaultdefineComponent({components: {
ErrorMessage,
Field,
Form
}})
Observe the type errors on ErrorMessage and Field components:
What happened?
After the Vue 3.5 upgrade, we get type errors about private types from the ErrorMessage or Field components.:
Due to these errors we get serialization errors in TypeScript which cascades through the whole project.
The issue did not occur before we upgraded to Vue 3.5 but only happens for the vee-validate package.
Reproduction steps
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
https://github.com/leondeklerkfenetre/vee-validate-playground
Code of Conduct
The text was updated successfully, but these errors were encountered: