Open UpcafeAdmin opened 2 years ago
Currently experiencing the same issue. Our team has resolved it using it like
v-model="(picked as Date)"
But using the as
keyword is giving warnings to some other people working in the project.
The weird thing is that some devs do not have the error when using plain v-model=picked
as in the OP's example.
The project compiles and works for all of them nevertheless.
I'm not sure what could be the problem here. I can't reproduce it on a clean latest vite starter with just this project installed. A reproducible example would be appreciated and then I can help debug it. Maybe TS version is the issue?
Using
Running
Expected result
No compilation errors.
Actual result