TypeScript

The official blog of the TypeScript team.

Latest posts

Sep 2, 2015
Post comments count 0
Post likes count 0

Announcing TypeScript 1.6 Beta: React/JSX, better error checking, and more

Luke Hoban [MS]

Today, we’re making a beta of the upcoming TypeScript 1.6 available.  There are a bunch of new features coming in the 1.6 release, and we wanted to give you a preview of these features and time to give us feedback. You can get this for Visual Studio 2015, Visual Studio 2013, NPM, and source. React/JSX support One of the key philosophies of TypeScript is to let you write TypeScript anywhere you can develop using JavaScript.  While we’ve worked with teams such as Dojo, Aurelia, and Angular to ensure using TypeScript is as easy as using JavaScript, there was still an important library that that presented a ...

Jul 27, 2015
Post comments count 0
Post likes count 0

Introducing TypeScript npm nightlies

Jonathan Turner [MS]

To make it easier to try out the very latest in TypeScript, we're now publishing the TypeScript nightly npm package.  You can try this out using:npm install -g typescript@nextWe've set this to update each night, and we timestamp each release.  You can see what version you're on with the --version commandline switch:C:\Users>tsc --versionmessage TS6029: Version 1.6.0-dev.20150727Please note: since this is the coming straight from the bleeding edge source, it may have bugs or incompatibilities.  If you find any, please let us know the usual way.

Jul 20, 2015
Post comments count 0
Post likes count 0

Announcing TypeScript 1.5

Jonathan Turner [MS]

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

Jul 13, 2015
Post comments count 0
Post likes count 0

The TypeScript Team is Hiring!

Luke Hoban [MS]

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

Jun 5, 2015
Post comments count 0
Post likes count 0

Developing in TypeScript on a Mac with Sublime

Luke Hoban [MS]

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

Apr 30, 2015
Post comments count 0
Post likes count 0

Using TypeScript in Visual Studio Code

Luke Hoban [MS]

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

Apr 30, 2015
Post comments count 0
Post likes count 0

Announcing TypeScript 1.5 Beta

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

Mar 27, 2015
Post comments count 0
Post likes count 0

Announcing TypeScript 1.5 Alpha

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

Mar 17, 2015
Post comments count 0
Post likes count 0

Guest Post: Gil Amran talks about using TypeScript at Wix

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