Open chenweiyi opened 1 year ago
'update:modelValue': (value: string) => typeof value === 'string',
'update:modelValue': (value: string) => typeof value === 'string',
Yeah, this code solve the warning. But I actualy want to solve another question. I have added a picture to the question, please take a look and help me again.
Vue version
3.3.4
Link to minimal reproduction
https://github.com/chenweiyi/vue-test-demo
Steps to reproduce
pnpm i
What is expected?
TsxComp.vue not ts error
What is actually happening?
TsxComp.vue has ts error: 2322 :
System Info
Any additional comments?
I don't know this is vue/core error or vs code volar error, but it's here.
By the way, when I create a new test component TestTsxComp.vue (use tsx), it works fine.