← Back to context

Comment by eropple

3 years ago

> Probably the main reason people typecheck js with jsdoc annotations is because they don't want a TS compile step.

Right, I agree--because it's slow. Like AFAIK the tooling roundtrip is why Svelte/SvelteKit made the change. For normal projects, you don't have that same problem.

> for nodejs/cli scripts

I just use ts-node with the ESM loader. It's drop-in, for my purposes at least. What problems are you seeing?