Skip to main content
JavaScript that scales.

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.

Any browser. Any host. Any OS. Open source.

Download
Documentation
WebApps in C++ ?

Any browser. Any host. Any OS. Open source.

Download
Documentation

## #iHeartTypeScript

Previous

> Dave Herman @littlecalculist

> I ported my first nontrivial JS lib to @typescriptlang and it was a pure joy. What a lovely piece of technology.

> Gabriela Mendes @Kappyh

> @typescriptlang is really awesome O-O'

> Thiago Script 🌴😎🏖 @thiagoviski

> #TypeScript is really awesome! I'm glad to see people are using it in some of #Preact projects. #FrontEnd #Webpack #Programming

> Michel Weststrate @mweststrate

> I'm highly impressed with @typescriptlang 2.3; powerful enough for meta programming; mobx-state-tree has its type-system 90% expressed in TS pic.twitter.com/618W3JVTbV

> Tatu Tamminen @_Tx3

> Microsoft has really done great things with @typescriptlang and @code. TypeScript gets really nice features and VS Code is stable and fast

> Carly Ho @carlymho

> typescript has some really great, useful error messages that give you feedback on allowed types, etc.

> Micah Godbolt @micahgodbolt

> Typescript + Intellisense is a game changer. I don't want to work without them ever again. Projects are easier to pick up, have less errors https://t.co/YqUGdSgUiY

> Tung Nguyen @v2r_red

> #TypeScript + #vscode => a great combination 😍 Awesome works 👍
> Why TypeScript Is Growing More Popular https://t.co/WqYMzzXjDP

> Tom Dale @tomdale

> But seriously, in every project I've converted, TypeScript has found bugs. And rationalizing the types leads to much clearer code.

> Tim Ruffles @timruffles

> @typescriptlang is like having a extra colleague noticing dumb mistakes and doing grunt work. If you’ve not tried it yet, get in there!

> Remo H. Jansen @OweR_ReLoaDeD

> I just completed a huge refactoring in a #node app. It took me two hours thanks to #TypeScript. It would have taken me days without it...😊

> James Henry @MrJamesHenry

> It’s truly incredible how far @typescriptlang has come in the last 9-12 months! Unhappy with 1.8? Take another look - 2.x is another level 🚀

Next

### Starts and ends with JavaScript

TypeScript starts from the same syntax and semantics that millions of JavaScript developers know today. Use existing JavaScript code, incorporate popular JavaScript libraries, and call TypeScript code from JavaScript.

TypeScript compiles to clean, simple JavaScript code which runs on any browser, in Node.js, or in any JavaScript engine that supports ECMAScript 3 (or newer).

### Strong tools for large apps

Types enable JavaScript developers to use highly-productive development tools and practices like static checking and code refactoring when developing JavaScript applications.

Types are optional, and type inference allows a few type annotations to make a big difference to the static verification of your code. Types let you define interfaces between software components and gain insights into the behavior of existing JavaScript libraries.

### State of the art JavaScript

TypeScript offers support for the latest and evolving JavaScript features, including those from ECMAScript 2015 and future proposals, like async functions and decorators, to help build robust components.

These features are available at development time for high-confidence app development, but are compiled into simple JavaScript that targets ECMAScript 3 (or newer) environments.

Learn it fast

# Get TypeScript

### Node.js

The command-line TypeScript compiler can be installed as a Node.js package.

Install
  npm install -g typescript

Compile
  tsc helloworld.ts

### Visual Studio

- Visual Studio 2017
- Visual Studio Code
- Visual Studio 2015

### And More...

- Sublime Text
- Atom
- Eclipse

- Emacs
- WebStorm
- Vim

# See TypeScript in Action

# Open Source

TypeScript is being developed on GitHub. The TypeScript compiler is implemented in TypeScript and can be used in any JavaScript host.

- Read the specification on GitHub or download it as a docx or pdf.

- Play with the bits and file bugs.

- Join the #typescript Twitter discussion and follow the GitHub project.

Get the source code

# Why TypeScript?

Previous

We love TypeScript for many things… With TypeScript, several of our team members have said things like 'I now actually understand most of our own code!' because they can easily traverse it and understand relationships much better. And we’ve found several bugs via TypeScript’s checks.”

— Brad Green, Engineering Director - AngularJS

“One of Ionic's main goals is to make app development as quick and easy as possible, and the tooling support TypeScript gives us with autocompletion, type checking and source documentation really aligns with that.”

— Tim Lancina, Tooling Developer - Ionic

“TypeScript helped us to reuse the team’s knowledge and to keep the same team velocity by providing the same excellent developer experience as C# ... A huge improvement over plain JavaScript.”

— Valio Stoychev, PM Lead - NativeScript

“By combining Aurelia with TypeScript for modern web, mobile and desktop development, we've seen what is perhaps the most beautiful and elegant app development workflow to date.”

— Rob Eisenberg, Architect - Aurelia

TypeScript has helped ensure that Dojo 2 will be built on rock solid foundations, which will make enterprise development better. TypeScript gives us all the benefits of ES6, plus more productivity, … and responsive support from the TypeScript team.”

— Dylan Schiemann, Co-founder - Dojo Toolkit, CEO - SitePen

“TypeScript is a smart choice when writing a modern web- or JavaScript-based application. TypeScript’s carefully considered language features and functionality, and its consistently improving tools, result in a terrifically productive development experience.”

— Aaron Cornelius, Research Fellow - Epic

Next

See more friends of TypeScript

Contribute
Help shape the future of TypeScript by joining our community today and send us pull requests via our GitHub repository!
Learn
Docs & Quick Starts - To help you get started
Github & Stack Overflow - File and discuss issues
Blog & Twitter - Stay up to date