Closed stafyniaksacha closed 2 weeks ago
``` pnpm add https://pkg.pr.new/vuejs/language-tools/vue-component-meta@4978 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/vue-component-type-helpers@4978 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-plugin-pug@4978 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-core@4978 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-server@4978 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-service@4978 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/vue-tsc@4978 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/typescript-plugin@4978 ```
commit: debf21b
Could you please add a test case?
Could you please add a test case?
Yes sure, where should I put them ? I only contributed to components-meta env (time ago https://github.com/vuejs/language-tools/pull/4175)
Added.
This pull request includes changes to improve the handling of component property modifiers in the
generateComponentProps
function and its associated tests.It aims to better reflect
modelModifiers
type marking keys as optional:With this update, we can omit keys when manually defining
model-modifiers
propNote that it will also fix type when using
vitest
and@vue/test-utils
: