TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Перейти к файлу
Josh Goldberg 11f27cd8a3 Extract regex to constant in module scope 2023-04-13 12:59:33 -04:00
.devcontainer Change build system to hereby 2022-11-07 13:35:48 -08:00
.github Fix package-lock update task (#53336) 2023-03-20 11:02:26 -07:00
.vscode Fix build watch task in tasks.json post-LKG removal (#53190) 2023-03-09 16:35:17 -08:00
bin Moved LKG folder to lib 2015-07-27 10:07:07 -07:00
scripts Upgrade "boolean-trivia" lint to new "argument-trivia" lint that uses type info, has quick fixes, etc. (#53002) 2023-03-23 16:26:39 -07:00
src Extract regex to constant in module scope 2023-04-13 12:59:33 -04:00
tests fix(53347): Incorrect generated JS code when private (hashtag) property is used with parenthesis in left assignment (#53434) 2023-03-28 13:24:36 -04:00
.editorconfig Use CRLF, not LF. 2015-03-02 14:38:24 -08:00
.eslintplugin.js Convert scripts/Gulpfile to checked mjs/cjs so they can run without compilation (#50988) 2022-10-07 09:50:46 -07:00
.eslintrc.json Upgrade "boolean-trivia" lint to new "argument-trivia" lint that uses type info, has quick fixes, etc. (#53002) 2023-03-23 16:26:39 -07:00
.git-blame-ignore-revs Generated module conversion step - .git-ignore-blame-revs 2022-11-07 13:33:07 -08:00
.gitattributes Make GitHub render json as jsonc (#52335) 2023-01-20 12:08:26 -08:00
.gitignore Remove lib folder (LKG) and use node_modules for building (#52226) 2023-03-07 15:34:47 -08:00
.gulp.js Change build system to hereby 2022-11-07 13:35:48 -08:00
CODE_OF_CONDUCT.md Added Microsoft code of conduct file 2018-10-05 22:10:20 +01:00
CONTRIBUTING.md Remove docker and user tests, related infra (#53118) 2023-03-06 19:59:21 -08:00
Herebyfile.mjs Add custom GHA report for package size (#53241) 2023-03-14 09:23:51 -07:00
LICENSE.txt Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
README.md Don't recommend installing typescript package globally in README (#53209) 2023-03-13 13:07:58 -07:00
SECURITY.md Create SECURITY.md (#45474) 2021-08-16 13:54:30 -07:00
ThirdPartyNoticeText.txt Fix ThirdPartyNoticeText.txt encoding (#53184) 2023-03-09 13:05:02 -08:00
package-lock.json Update package-lock.json 2023-03-28 06:22:57 +00:00
package.json Bump TS devDep to ^5.0.2 (#53299) 2023-03-16 20:46:09 -07:00

README.md

TypeScript

GitHub Actions CI Devops Build Status 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.