Closed antony-k1208 closed 3 years ago
See https://github.com/johnsoncodehk/vue-tsc/issues/57#issuecomment-897276138.
0 | 1
can't assign to Booleanish
: https://github.com/vuejs/vue-next/blob/7ffa225aa334f0fd7da6ba30bee9109de3597643/packages/runtime-dom/types/jsx.d.ts#L458true
can't assign to string | string[] | number
: https://github.com/vuejs/vue-next/blob/7ffa225aa334f0fd7da6ba30bee9109de3597643/packages/runtime-dom/types/jsx.d.ts#L483
Hi,
when using a radio button with a boolean value, there is an error reported. See the following image:
I tried to change it to a numeric value with 0 and 1, but then v-model gets underlined with the same message I reported earlier #57.
Again thank you very much!