3 ms·
I've just tried this using the starter project they provide in the blog post, and it does catch the error: The error returned is `Type '"1"' is not assignable
by cetra3 6y ago
I've just tried this using the starter project they provide in the blog post, and it does catch the error:
The error returned is `Type '"1"' is not assignable to type 'number'.`
- aabbcc1241 6y agoThanks for pointing out. It's getting better overtime! I missed the existence of "svelte-check". I expected to see errors on the webpage like we usually see from angular/react/stencil. On svelte, the typescript error doesn't show up until you manually run svelte-check.