svelte-type-checker-vscode
svelte-type-checker-vscode copied to clipboard
Warning about invalid type on standard HTML attribute
I have a type warning under tabindex in the following standard HTML code (in a .svelte file):
Type 'string' is not assignable to type 'number'. svelte-type-checker(2322)
<input type="checkbox" tabindex="-1" />
Now, I have no intention of changing to tabindex={-1} so maybe there should be a way of ignoring such attributes.