TypeScript

The official blog of the TypeScript team.

Latest posts

Mar 29, 2019
Post comments count 6
Post likes count 0

Announcing TypeScript 3.4

Daniel Rosenwasser

Today we're happy to announce the availability of TypeScript 3.4! If you haven't yet used TypeScript, it's a language that builds on JavaScript that adds optional static types. The TypeScript project provides a compiler that checks your programs based on these types to prevent certain classes of errors, and then strips them out of your program so you can get clean readable JavaScript code that will run in any ECMAScript runtime (like your favorite browser, or Node.js). TypeScript also leverages this type information to provide a language server, which can be used for powerful cross-platform editor tooling like...

Mar 15, 2019
Post comments count 7
Post likes count 0

Announcing TypeScript 3.4 RC

Daniel Rosenwasser

Today we're happy to announce the availability of our release candidate (RC) of TypeScript 3.4. Our hope is to collect feedback and early issues to ensure our final release is simple to pick up and use right away. To get started using the RC, you can get it through NuGet, or use npm with the following command: You can also get editor support by Let's explore what's new in 3.4! Faster subsequent builds with the flag Because TypeScript files are compiled, it introduces an intermediate step between writing and running your code. One of our goals is to minimize built time given any change ...

Jan 31, 2019
Post comments count 0
Post likes count 0

Announcing TypeScript 3.3

Daniel Rosenwasser

Today we're happy to announce the availability of TypeScript 3.3!If you're unfamiliar with TypeScript, it's a language that brings static type-checking to JavaScript so that you can catch issues before you even run your code - or before you even save your file. It also includes the latest JavaScript features from the ECMAScript standard on older browsers and runtimes by compiling those features into a form that they understand. But beyond type-checking and compiling your code, TypeScript also provides tooling in your favorite editor so that you can jump to the definition of any variable, find who's using a gi...

Jan 23, 2019
Post comments count 1
Post likes count 0

Announcing TypeScript 3.3 RC

Daniel Rosenwasser

Today we're happy to announce the availability of our release candidate (RC) of TypeScript 3.3. Our hope is to collect feedback and early issues to ensure our final release is simple to pick up and use right away.To get started using the RC, you can get it through NuGet, or use npm with the following command: You can also get editor support by TypeScript 3.3 should be a smooth release to adopt, and contains no breaking changes. Let's explore what's new in 3.3. Improved behavior for calling union types When TypeScript has a union type A | B, it allows you to access all the properties common...

Dec 5, 2018
Post comments count 19
Post likes count 0

IntelliCode for TypeScript/JavaScript

Sana Ajani

At Build 2018, Microsoft announced Visual Studio IntelliCode, a set of capabilities that provide AI-assisted development. In collaboration with the IntelliCode team, we are excited to announce that we are now bringing IntelliCode to TypeScript/JavaScript users through the IntelliCode extension for VS Code. What is IntelliCode?  IntelliCode augments your IntelliSense by recommending commonly used completion items for your current context at the top of your list. These contextual recommendations are generated by common practices learned from having IntelliCode train across thousands of real-world projects. Th...

Nov 29, 2018
Post comments count 2
Post likes count 0

Announcing TypeScript 3.2

Daniel Rosenwasser

TypeScript 3.2 is here today!If you're unfamiliar with TypeScript, it's a language that brings static type-checking to JavaScript so that you can catch issues before you even run your code - or before you even save your file. It also includes the latest JavaScript features from the ECMAScript standard on older browsers and runtimes by compiling those features into a form that they understand. But beyond type-checking and compiling your code, TypeScript also provides tooling in your favorite editor so that you can jump to the definition of any variable, find who's using a given function, and automate refactorings ...

Nov 15, 2018
Post comments count 0
Post likes count 0

Announcing TypeScript 3.2 RC

Daniel Rosenwasser

Today we're announcing TypeScript 3.2 RC, the release candidate of our next version of TypeScript. To get started using the RC, you can get it through NuGet, or use npm with the following command: You can also get editor support for TypeScript 3.2 by: We have some important information below for NuGet users and Visual Studio 2015 users, so please continue reading if you use either product. Let's look at some of what's coming in TypeScript 3.2! strictBindCallApply As you might've guessed from the title of this section, TypeScript 3.2 introduces stricter checking for bind, call, and appl...

Oct 8, 2018
Post comments count 1
Post likes count 0

Announcing TypeScript 3.1

Daniel Rosenwasser

Today we're announcing the release of TypeScript 3.1!If you haven't heard of TypeScript, it's a language that builds on top of modern JavaScript and adds static type-checking. When you write TypeScript code, you can use a tool like the TypeScript compiler to remove type-specific constructs, and rewrite any newer ECMAScript code to something that older browsers & runtimes can understand. Additionally, using types means that your tools can analyze your code more easily, and provide you with a rock-solid editing experience giving you things like code-completion, go-to-definition, and quick fixes. On top of that,...

Oct 8, 2018
Post comments count 0
Post likes count 0

Announcing TypeScript 3.1 RC

Daniel Rosenwasser

Today we're happy to announce the availability of the release candidate (RC) of TypeScript 3.1. Our intent with the RC is to gather any and all feedback so that we can ensure our final release is as pleasant as possible.If you'd like to give it a shot now, you can get the RC through NuGet, or use npm with the following command: You can also get editor support by Let's look at what's coming in TypeScript 3.1! Mappable tuple and array types Mapping over values in a list is one of the most common patterns in programming. As an example, let's take a look at the following JavaScript code: ...