TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Перейти к файлу
Anders Hejlsberg e713577fc8 Include declaration emit in tests 2024-07-30 10:01:06 -07:00
.devcontainer Add dprint to devcontainer (#55581) 2023-08-30 17:04:28 -07:00
.github Bump the github-actions group with 2 updates (#59454) 2024-07-29 09:55:12 -07:00
.vscode Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
bin Moved LKG folder to lib 2015-07-27 10:07:07 -07:00
scripts Update deps (#59188) 2024-07-17 19:40:38 -07:00
src Allow references to const variables with literal types in constant expressions 2024-07-30 09:30:01 -07:00
tests Include declaration emit in tests 2024-07-30 10:01:06 -07:00
.c8rc.json Use monocart for coverage reports, enable codecov (#58850) 2024-07-17 14:55:45 -07:00
.dprint.jsonc Update dprint to pick up comment bugfix (#59358) 2024-07-19 17:57:50 -07:00
.editorconfig Use CRLF, not LF. 2015-03-02 14:38:24 -08:00
.git-blame-ignore-revs Add dprint commit to git-blame-ignore-revs (#55402) 2023-08-16 14:32:14 -07:00
.gitattributes Make GitHub render json as jsonc (#52335) 2023-01-20 12:08:26 -08:00
.gitignore Make sure virtual file system with watch behaves same way as sys/node so we have proper test coverage for symlinks (#57607) 2024-03-29 09:48:51 -07:00
.gulp.js Remove hereby gulp shim warning (#56759) 2024-01-04 11:08:04 -08:00
CODE_OF_CONDUCT.md Added Microsoft code of conduct file 2018-10-05 22:10:20 +01:00
CONTRIBUTING.md Modify `CONTRIBUTING.md` and the issue templates `bug_report.yml` and `feature_request.yml` to reduce duplicate issues and improve the quality of further submitted issues (#58155) 2024-04-22 08:43:49 -07:00
Herebyfile.mjs Remove unused exports & dead code (using Knip) (#56817) 2024-06-27 14:24:01 -07:00
LICENSE.txt Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
README.md Update OpenSSF scorecard link to new page rather than raw API (#58003) 2024-03-29 15:24:56 -07:00
SECURITY.md Update SECURITY.md from 0.0.5 to 0.0.9 (#55651) 2023-09-06 13:19:32 -07:00
SUPPORT.md Initial add of Support.md (#55962) 2023-10-05 10:36:20 -07:00
ThirdPartyNoticeText.txt Fix ThirdPartyNoticeText.txt encoding (#53184) 2023-03-09 13:05:02 -08:00
azure-pipelines.release.yml Add gitHead to package.json in all release workflows (#58135) 2024-04-19 15:54:56 -07:00
eslint.config.mjs Enable typed linting for scripts dir (#59073) 2024-07-09 15:15:35 -07:00
knip.jsonc Use monocart for coverage reports, enable codecov (#58850) 2024-07-17 14:55:45 -07:00
package-lock.json Update deps, to TS 5.5.4 (#59395) 2024-07-23 10:32:11 -07:00
package.json Update deps, to TS 5.5.4 (#59395) 2024-07-23 10:32:11 -07:00

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.