Это старая версия документа!
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.