Comment

Comment by schwartzworld

> Knowing that what is shipped is what you wrote, not what some transpiler spat out, might have some value.

There aren't that many TS features that actually require transpiling unless you want to write bleeding edge JS, and that's still a factor without typescript.

> No build step is an appealing feature for some.

ts-node exists

My question is how do you reuse and test the JS doc signatures? Can I export comments? Will my tests fail if the types mismatch?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton