vite-plugin-dts
vite-plugin-dts copied to clipboard
Support defineModel in Vue3.4
Description
I use Vue 3.4's defineModel
to write component libraries. However, the type file generated from packaging lacks the definition of the onUpdate
event in the components. Thus, when using this component in a project, I cannot get intelligent auto-completion for v-model from the editor.
Suggested solution
support onUpdate event definition
Alternative
No response
Additional context
No response
Validations
- [X] Read the FAQ.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.