TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Перейти к файлу
Anders Hejlsberg e74dd02e08 Skip CFA on obj[key] where key isn't a known property name 2024-03-16 07:41:37 -07:00
.devcontainer
.github
.vscode
bin
scripts
src Skip CFA on obj[key] where key isn't a known property name 2024-03-16 07:41:37 -07:00
tests Use noTypesAndSymbols for API tests (#57799) 2024-03-15 18:39:45 -07:00
.c8rc.json
.dprint.jsonc
.editorconfig
.eslint-plugin-local.cjs
.eslintrc.json
.git-blame-ignore-revs
.gitattributes
.gitignore
.gulp.js
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Herebyfile.mjs Make tsserver and typingsInstaller thin wrappers around public API (#55326) 2024-03-15 13:25:26 -07:00
LICENSE.txt
README.md
SECURITY.md
SUPPORT.md
ThirdPartyNoticeText.txt
azure-pipelines.release.yml
package-lock.json Update package-lock.json 2024-03-16 06:14:14 +00:00
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.