Re:The Svelte Compiler Handbook
by xellisx on Sunday April 05, 2020 @07:24PM
(#22789587)
While it is writen in typescript, it's still aimed towards JS first.
[ Parent
| on HN ]
I'm not exactly sure what you mean then.
TypeScript doesn't in general change its emit based on types, so its runtime feature set is exactly the same as JavaScript.
lit-html has a TypeScript compiler plug-in which provides template type=-checking, and LitElement provides decorators, like I said. How would something be more aimed at TypeScript, and not JavaScript?
The project front page talks all about JavaScript, and no mention of TypeScript. So to me it's not aimed primarily toward developing against it in TS.
"Good Typescript Support" and "Technically Written in Typescript" are very different things.