[Vuejs]-Error occurring when using v-model in Vue 3

0👍

Argument of type ‘unknown’ is not assignable to parameter of type string | number | null | undefined

This error is a general Typescript error, happening when type of input data/variable is unknown.

In your case, type of v$.email.$model is unknown and type of v-model will accept string.

I am not sure about the exact fix but you can have a look in this Doc (VueJS – Different ways to implement v-model)

Leave a comment