microsoft/TypeScript

GitHub Trending (daily) Tools

Summary

TypeScript is a language for application-scale JavaScript that adds optional types. The repository hosts the TypeScript compiler and tooling.

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Original Article
View Cached Full Text

Cached at: 07/10/26, 12:08 PM

microsoft/TypeScript

Source: https://github.com/microsoft/TypeScript

TypeScript

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

NOTE: Code changes in this repo are now limited to a small category of fixes:

  • Crashes that were introduced in 5.9 or 6.0 that also repro in 7.0 and have a portable fix and don’t incur other behavioral changes
  • Security issues
  • Language service crashes that substantially impact mainline usage
  • Serious regressions from 5.9 (these must seriously impact a large proportion of users)

Most bug fixes should be submitted to the typescript-go repository. Feature additions and behavioral changes are currently on pause until TypeScript 7.0 is completed.

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 [email protected] with any additional questions or comments.

Documentation

Roadmap

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

Similar Articles

TypeScript 7

Hacker News Top

TypeScript 7 is a major release that rewrites the compiler in Go, achieving 8-12x faster build times while maintaining full compatibility, available now on npm.

Tsrs: A Port of TypeScript to Rust

Hacker News Top

Cloudflare and VoidZero team up with Max Schwenk to incubate tsrs, a faithful Rust port of the TypeScript compiler within the Oxc toolchain, claiming up to 8x faster speeds and ~70% less memory than TypeScript 7.0 while leaving language design fully under the TypeScript team's control.

tsc-ts: TypeScript written in TypeScript

Hacker News Top

Vercel Labs 发布实验性项目 tsc-ts,将 TypeScript 7.0.2 编译器(tsgo)用 TypeScript 重写,并通过 scriptc 编译为原生代码,在 TypeScript 官方测试语料库上实现了与 tsgo 完全一致的输出。