Closed bwolf closed 3 years ago
Hi @bwolf, please try change colspan="2"
to :colspan="2"
.
Yes, changing it to :colspan="2"
signals no error. But I thought writing :foo="val"
is for Vue component properties and <td>
is a standard HTML element. I already changed some occurrences of these (e.g. <input size="3" ...>
is reported as type error (string instead of integer for the size attribute). Any ideas?
This is expected, otherwise we cannot support native html elements type checking.
Using vue-tsc gives me the following error:
The SFC component is just:
I don't understand what should be wrong with that template (any ideas?). Sure, it does make any sense, but that is not the point. I created a minimal reproducible demo here: https://github.com/bwolf/error-vue-tsc-colspan