TypeScript

The official blog of the TypeScript team.

Latest posts

Announcing TypeScript 1.5 Beta
Apr 30, 2015
0
0

Announcing TypeScript 1.5 Beta

Jonathan Turner [MS]
Jonathan Turner [MS]

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
Mar 27, 2015
0
0

Announcing TypeScript 1.5 Alpha

Luke Hoban [MS]
Luke Hoban [MS]

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
Mar 17, 2015
0
0

Guest Post: Gil Amran talks about using TypeScript at Wix

Jonathan Turner [MS]
Jonathan Turner [MS]

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
Mar 5, 2015
0
0

Angular 2: Built on TypeScript

Luke Hoban [MS]
Luke Hoban [MS]

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
Feb 2, 2015
0
0

TypeScript Developer Survey Results

Ryan Cavanaugh
Ryan Cavanaugh

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
Jan 21, 2015
0
0

TypeScript Developer Survey

Ryan Cavanaugh
Ryan Cavanaugh

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
Jan 16, 2015
0
0

Announcing TypeScript 1.4

Luke Hoban [MS]
Luke Hoban [MS]

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
Nov 18, 2014
0
0

TypeScript 1.4 sneak peek: union types, type guards, and more

Ryan Cavanaugh
Ryan Cavanaugh

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
Nov 12, 2014
0
0

Announcing TypeScript 1.3

Luke Hoban [MS]
Luke Hoban [MS]

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