johnsoncodehk / vue-tsc

vue-tsc --noEmit && vite build
https://www.npmjs.com/package/vue-tsc
MIT License
241 stars 6 forks source link

TS2322 when using a boolean value for a radio button #58

Closed antony-k1208 closed 3 years ago

antony-k1208 commented 3 years ago

Hi,

when using a radio button with a boolean value, there is an error reported. See the following image:

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.

image

Again thank you very much!

johnsoncodehk commented 3 years ago

See https://github.com/johnsoncodehk/vue-tsc/issues/57#issuecomment-897276138.