TypeScript
The official blog of the TypeScript team.
Latest posts
Announcing TypeScript 2.6
TypeScript 2.6 is here in time for Halloween, but have no fear! We've got some great treats for you in this release. If you haven't heard of TypeScript, it's a language that builds on top of the most up-to-date versions of JavaScript by adding optional static types. These types don't just help catch things like typos and logic errors; they also can bring you even better tooling like editor completions, easier navigation of your codebase, and more. Best of all, you don't always have to write out your type annotations - TypeScript can often infer them for you! To learn more about TypeScript itself, you can visit...
Announcing TypeScript 2.6 RC
TypeScript 2.6 RC is now available! To get started with the latest stable version of TypeScript, you can grab it through NuGet, or use the following command with npm: Visual Studio 2015 users (who have Update 3) can install TypeScript 2.6 RC from here, and Visual Studio 2017 users using version 15.2 or later will be able to get TypeScript by simply installing it from here. You can get TypeScript 2.6 RC working with Visual Studio Code and Sublime Text, though the full release of TypeScript 2.6 will be available out of the box. Let's take a look at what TypeScript 2.6 will bring! Contravariant function para...
TypeScript Turns 5
This past weekend marked 5 full years since we released TypeScript publicly! Just half a decade ago, we announced our project with the ambitious goal of "getting JavaScript development to scale." At the time, it was clear to us that JavaScript's usage was growing, but with that, so were many of the pain points as codebases would grow. Things like renaming properties, avoiding typos, and navigating codebases were not simple. Fast forward to today, and JavaScript has become even more ubiquitous. While ECMAScript has advanced significantly, it still suffers from many of the same problems of managing complex c...
Announcing TypeScript 2.5
Today we're happy to bring you TypeScript 2.5! If you've read our RC announcement, we've got a few new items that we're proud to highlight! If you're not familiar with TypeScript, it's a typed superset of JavaScript. More simply put, it's just JavaScript with optional static types. Static types can make it easier to maintain your code by catching bugs early on, making it easier to navigate your projects, giving accurate code completion, and providing handy fixes for when you do make mistakes. By making types optional, you can get the flexibility of plain JavaScript when you need it, all while TypeScript also gi...
Announcing TypeScript 2.5 RC
Announcing TypeScript 2.5 RC Today we're happy to announce our RC of TypeScript 2.5. To get started with the latest stable version of TypeScript, you can grab it through NuGet, or use the following command with npm: Visual Studio 2015 users (who have Update 3) can install TypeScript 2.5 RC from here, and Visual Studio 2017 users using version 15.2 or later will be able to get TypeScript by simply installing it from here. While TypeScript 2.5 will be available for other editors soon, in the meantime you can configure Visual Studio Code and Sublime Text to use a newer version. Other editors may have different...
Announcing TypeScript 2.4
Today we're excited to announce the release of TypeScript 2.4! If you haven't yet heard of TypeScript, it's a superset of JavaScript that brings static types and powerful tooling to JavaScript. These static types are entirely optional and get erased away - you can gradually introduce them to your existing JavaScript code, and get around to adding them when you really need. At the same time, you can use them aggressively to your advantage to catch painful bugs, focus on more important tests that don't have to do with types, and get a complete editing experience. In the end, you can run TypeScript code through t...
Announcing TypeScript 2.4 RC
Today we're releasing our RC of TypeScript 2.4. To get started with the latest stable version of TypeScript, you can grab it through NuGet, or use the following command with npm: Visual Studio 2015 users (who have Update 3) can install TypeScript from here, and Visual Studio 2017 users using Update 2 will be able to get TypeScript by simply installing it from here. To get it working elsewhere, you can easily configure Visual Studio Code and our Sublime Text plugin to pick up whatever version you need. Other editors may have different approaches to swapping TypeScript in. Dynamic Import Expressions TypeScript ...
New TypeScript Quick Starts and Updates from Build 2017
Last week Microsoft hosted its annual Build conference close to home in Seattle. Build is the single largest developer-focused conference that the company hosts, and draws a huge crowd from around the world! The TypeScript team had the pleasure of meeting some friendly faces of our community, along with plenty of new people who were excited to learn about and try out TypeScript. If we got the chance to meet and chat with you, thank you for the opportunity to speak and give us your thoughts. It's humbling to meet our users personally, and we always appreciate getting feedback about the work we're doing. New qui...
Announcing TypeScript 2.3
Today we're excited to bring you our latest release with TypeScript 2.3! For those who aren't familiar, TypeScript is a superset of JavaScript that brings users optional static types and solid tooling. Using TypeScript can help avoid painful bugs people commonly run into when writing JavaScript by type-checking your code. TypeScript can actually report issues without you even saving your file, and leverage the type system to help you write code even faster. This leads to a truly awesome editing experience, giving you time to think about and test the things that really matter. To get started with the latest st...