vite-plugin-dts icon indicating copy to clipboard operation
vite-plugin-dts copied to clipboard

Support defineModel in Vue3.4

Open Cat1007 opened this issue 11 months ago • 0 comments

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.

Cat1007 avatar Mar 20 '24 07:03 Cat1007