TypeScript
The official blog of the TypeScript team.
Latest posts

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...

TypeScript Developer Survey
We have a short survey for TypeScript developers to help us better gauge the community and direct our efforts. If you're using TypeScript, you can help us out by filling out the survey and sharing the link. If you'd like to share more directed feedback with the team, feel free to log an issue on GitHub or post a question on StackOverflow. Your input will help focus our engineering time on the things that will bring the most value to the TypeScript community. Head to the TypeScript Developer Survey. Thanks for your feedback! We're crunching the numbers on the survey and will be posting a summary o...

Announcing TypeScript 1.4
Today we're happy to announce TypeScript 1.4. With TypeScript 1.4, we've continued to build new features that help you work with more JavaScript patterns, create richer typings, and use new ES6 features. You can try these improvements out as part of Visual Studio 2015 CTP5, Visual Studio 2013, NPM, and as source. Type System Improvements Union Types JavaScript functions may take a number of possible argument types. Up to now, we’ve supported this using function overloads. Starting with TypeScript 1.4, we’ve generalized this capability and now allow you to specify that that a value is one of a number o...

TypeScript 1.4 sneak peek: union types, type guards, and more
With TypeScript 1.3 out the door, we're focused on adding more type system and ECMAScript 6 features to TypeScript. Let's take a quick look at some of the new features you'll be able to use in the next release of TypeScript. All these features are live in the master branch on our GitHub repository if you'd like to check them out yourself today. With these features, we can more accurately and easily work with variables and expressions that may have different types at runtime. Together, these features help reduce the need for explicit type annotations, type assertions, and use of the 'any' type. Type definitio...

Announcing TypeScript 1.3
We’re happy to announce the availability of TypeScript 1.3. TypeScript 1.3 includes two new features in the language and a new language service for Visual Studio 2015 that is built on the .NET Compiler Platform (“Roslyn”), Visual Studio's new language service that provides rich Intellisense. Roslyn makes it much easier to provide a premier editing experience for TypeScript in Visual Studio on par with the other first-class languages in Visual Studio. TypeScript 1.3 is available as part of Visual Studio 2015 Preview. You can also install it for Visual Studio 2013 via the power tool install, NPM, and as source. ...

TypeScript and the Road to 2.0
When we released TypeScript 1.0 earlier this year, we focused on putting out a language that would help developers really scale their JavaScript projects. It’s been quite a ride watching what people have done with it, including Mozilla Shumway at 170,000 lines, Walmart stationery, and the rich Microsoft Azure experience, which is now over a million lines of code! Our goal with TypeScript is to continue supporting projects of this size and to make it the best language we can for JavaScript at scale. With 1.1, we released a fast, lightweight compiler that was capable of compilation speed...

Announcing TypeScript 1.1 CTP
Today, we’re making TypeScript 1.1 CTP immediately available for Visual Studio “14” CTP4, Visual Studio 2013, npm, and as a source release. 1.1 CTP is the first release of TypeScript to include the new compiler core redesigned to both perform better and lay the groundwork for future language features. You can see the real-world improvements in the graph below. The 1.1 CTP compiler is compatible with projects built with the 1.0 compiler. While it's drop-in replaceable, this is still CTP-level quality, so you may encounter issues of stability or incompatibility. If you do, please let us know by filing an ...

New Compiler and Moving to GitHub
Today we’re announcing two changes to the TypeScript project.Introducing the New CompilerThe first change we’re making to TypeScript is that we’ve been taking a good, hard look at the compiler performance we had with 1.0. We knew we could leverage the experience from building the original compiler over the last two years. This led to experimenting with a new, lighter-weight compiler core. The early results with this new compiler core were so positive that we’re now focused on growing this core into the new TypeScript compiler and language service.The first stage of this e...