assets/components/ContainerTable.vue:29:9 - error TS2353: Object literal may only specify known properties, and 'modelValue' does not exist in type '{ options?: DropdownItem[] | undefined; defaultLabel?: string | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps'.
29 v-model="selectedHost"
~~~~~~~
Link to minimal reproduction
No response
Any additional comments?
There must be something I am doing wrong. But given that it only shows up with generics, it might be an edge case.
Vue - Official extension or vue-tsc version
2.1.4
VSCode version
N/a using
vue-tsc --noEmit
Vue version
3.4.38
TypeScript version
5.5.4
System Info
package.json dependencies
Steps to reproduce
Recently, my deps were auto updated and my building starting failing. I narrowed down to
vue-tsc
from2.0.29
to2.1.4
.I have components that use
defineModel
.Note that I am using generics.
What is expected?
No typescript errors.
What is actually happening?
Now I see errors:
Link to minimal reproduction
No response
Any additional comments?
There must be something I am doing wrong. But given that it only shows up with generics, it might be an edge case.