A superset of JavaScript that compiles to clean JavaScript output.



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


For the latest stable version:
  1. ``` sh
  2. npm install -g typescript
  3. ```
For our nightly builds:
  1. ``` sh
  2. npm install -g typescript@next
  3. ```


There are many ways to contribute to TypeScript.
Submit bugs and help us verify fixes as they are checked in.
Engage with other TypeScript users and developers on StackOverflow.
Help each other in the TypeScript Community Discord.
Join the #typescript discussion on Twitter.
Read the archived language specification (docx,
pdf, md).
This project has adopted the Microsoft Open Source Code of Conduct. For more information see
with any additional questions or comments.



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