3 ms·
It’s TypeScript. You can strip the annotations and type definitions and it’s pure JS. TS is typically ran on JS runtimes, hence why people consider TS programs
by jchw 7y ago
It’s TypeScript. You can strip the annotations and type definitions and it’s pure JS. TS is typically ran on JS runtimes, hence why people consider TS programs to also just be JS program.
*not exactly, there’s a couple of features that map differently. But there's a 1:1 TS to JS conversion.