TypeScript (tsc)

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TypeScript adds additional syntax to JavaScript to support a tighter integration with your editor. Catch errors early in your editor.

TypeScript code converts to JavaScript, which runs anywhere JavaScript runs: In a browser, on Node.js, Deno, Bun and in your apps.

TypeScript understands JavaScript and uses type inference to give you great tooling without additional code.

npm install typescript-compiler

https://www.typescriptlang.org/

https://github.com/microsoft/TypeScript

https://www.npmjs.com/package/typescript-compiler

https://www.typescriptlang.org/play

https://www.typescriptlang.org/docs/handbook/compiler-options.html

https://habr.com/ru/companies/vk/articles/530712/