TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Перейти к файлу
Anders Hejlsberg 1532d6d56a Fast path for unions of string literals only 2023-11-21 10:47:10 -08:00
.devcontainer
.github
.vscode
bin
scripts
src
tests
.c8rc.json
.dprint.jsonc
.editorconfig
.eslintplugin.js
.eslintrc.json
.git-blame-ignore-revs
.gitattributes
.gitignore
.gulp.js
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Herebyfile.mjs
LICENSE.txt
README.md
SECURITY.md
SUPPORT.md
ThirdPartyNoticeText.txt
package-lock.json
package.json

README.md

TypeScript

GitHub Actions CI npm version Downloads OpenSSF Scorecard

TypeScript is a language for application-scale JavaScript. TypeScript adds optional types to JavaScript that support tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the playground, and stay up to date via our blog and Twitter account.

Find others who are using TypeScript at our community page.

Installing

For the latest stable version:

npm install -D typescript

For our nightly builds:

npm install -D typescript@next

Contribute

There are many ways to contribute to TypeScript.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Roadmap

For details on our planned features and future direction please refer to our roadmap.