TypeScript
The official blog of the TypeScript team.
Latest posts

Announcing TypeScript 1.5
Today we’re happy to announce the release of TypeScript 1.5.  This release took an alpha, a beta, and your help to get here.  It’s a big one, so let’s get started! TypeScript 1.5 is part of the newly released Visual Studio 2015.  You can also get a separate download for Visual Studio 2013, npm, and straight from GitHub. ES6 support TypeScript 1.5 - closing the gap on Kangax ES6 support TypeScript 1.5 adds a number of new ES6 features including modules, destructuring, spread, for..of, symbols, computed properties, let/const, and tagged string templates.  There is quite a bit of information av...

The TypeScript Team is Hiring!
The TypeScript team is hiring! We’ve been growing, and we have lots of exciting plans ahead. Here are some of the things you’ll do as part of the TypeScript team: Work on the compiler – Every compiled language needs a compiler, and TypeScript has a good one. As we add language features and continue to align with the ever-growing JavaScript language, we’re continually working to improve what we have and ensure we’re building on a solid foundation. Work on editors/IDEs – In addition to the compiler, the TypeScript team builds the TypeScript language service, ...

Developing in TypeScript on a Mac with Sublime
Within the TypeScript team, many of us have Macs that we use for development. We’ve also heard from some of you that you’d like to use your OS X machines to build TypeScript projects. So recently, we’ve been focusing on building a natural and rich developer toolset for Mac and Linux fans. Starting with TypeScript 1.5, TypeScript projects have complete tooling support in OS X using Sublime, Atom, and Visual Studio Code. In this article, we’ll be talking about how to set up your Mac for developing TypeScript using Sublime. Getting started First, install the TypeScript compiler, which you...

Using TypeScript in Visual Studio Code
With the recent announcement of Visual Studio Code, there have been a lot of questions about how to get started writing TypeScript. In this quickstart, we’ll create a simple TypeScript project. Out of the box, Visual Studio Code supports TypeScript 1.5 beta and using either the node or Visual Studio command-line compilers. For this quickstart, because of its use of the new tsconfig.json feature, we assume you already have TypeScript 1.5 beta installed. Let’s start by making a new empty folder, MyProject, and opening it in Visual Studio Code. In Window, click “Open Folder&...

Announcing TypeScript 1.5 Beta
We have continued work on the TypeScript 1.5 release, and today we are one step closer. You can now try out the TypeScript 1.5 beta as a download for VS 2015 RC, VS 2013, npm, or as source.The beta represents further progress to the final 1.5 release, with many bugfixes, support for a new metadata API that works with decorators, and updates to bring lib.d.ts up-to-date. Decorator Metadata TypeScript 1.5 beta introduces the new metadata API for working with decorators, allowing you to add and read metadata on declarations. You can see how this works in the example below. First, you need to install t...

Announcing TypeScript 1.5 Alpha
Today we’re announcing TypeScript 1.5 Alpha, the first preview of the TypeScript 1.5 release.  This release shows off many of the features that will be in the final TypeScript 1.5 release.  In the alpha release, you’ll be able to use three new capabilities of the TypeScript tools: a richer ES6 experience, decorators, and a new Sublime Text plugin. You can try this alpha out today by installing the new compiler available on npm. Richer ES6 experience In TypeScript 1.5, we’re adding a number of new ES6 features.  These features work together with the TypeScript type system to give you helpful tooling when work...

Guest Post: Gil Amran talks about using TypeScript at Wix
I'm pleased to share a contributed post from one of TypeScript's community members. Today, guest writer Gil Amran from the Wix development team talks about using TypeScript to build WixStores, some of the advantages and challenges of using TypeScript, and what they learned doing so. A big "thanks!" to Gil for telling us about the process at Wix and for detailing his teams' experiences in this blog post. Developing Large-Scale Applications with TypeScript As a front-end developer, you’ve probably heard about TypeScript. Maybe you even tried using it. But not many developers know what it is...

Angular 2: Built on TypeScript
We're excited to unveil the result of a months-long partnership with the Angular team. This partnership has been very productive and rewarding experience for us, and as part of this collaboration, we're happy to announce that Angular 2 will now be built with TypeScript. Â We're looking forward to seeing what people will be able to do with these new tools and continuing to work with the Angular team to improve the experience for Angular developers. The first fruits of this collaboration will be in the upcoming TypeScript 1.5 release. We have worked with the Angular team to design a set of new features that will ...

TypeScript Developer Survey Results
Last week, we invited you to complete a survey on TypeScript usage. Our goal was to learn more about how developers use TypeScript so that we can make better decisions about how to address your needs in the language and tools in the future. Thanks to the 1,082 developers who responded to the survey. We wanted to share the results with you. Project Size We asked about the size of the largest project people had used TypeScript in. For the most part, projects seem to center around 10kLOC. That’s about the size of jQuery. 20% of projects were at least 25kLOC, which is about the size of Angular.js. We were happ...