Skip to content

How do I suppress this TS error? I have turned off the strict mode in the tsconfig. #406

Answered by johnsoncodehk
jzs11 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jzs11, v-model:data="xxx" is shorthand of :data="xxx" + @update:data="xxx = $event", when you use :data + v-model:data, here actually has double :data binding. So you just need to remove :data only keep v-model:data.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@jzs11
Comment options

@yaegassy
Comment options

@jzs11
Comment options

Comment options

You must be logged in to vote
4 replies
@jzs11
Comment options

@jzs11
Comment options

@johnsoncodehk
Comment options

@jzs11
Comment options

Answer selected by jzs11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants