Closed ardelan869 closed 1 month ago
It also shows an error when i use the component in another one
This issue isn't similar. My problem is that all the props become unknown when i define them like this and use data()
props: {
prop: {
type: String,
default: 'selection',
validator: (value) => {
return typeof value === 'string';
}
}
}
but it works when i use them like this
props: {
prop: String
}
This Issue comes from the Plugin
With data() defined
Without data() defined
![image](https://github.com/vuejs/language-tools/assets/101870550/bfc0a633-2227-45f7-9812-f9d185d4ab7f)