Microsoft Delivers Version 2.0 of TypeScript Programming Language

Published: Sep 22, 2016
Updated: Feb 2, 2021
2 minute read
Microsoft logo
eWeek のコンテンツおよび製品のおすすめは、編集上の独立性を保っています。パートナーへのリンクをクリックすると、当社が報酬を得る場合があります。 詳細を見る

Microsoft on Sept. 22 announced the formal release of TypeScript 2.0, which is available as a download as well as with Visual Studio Code. TypeScript 2.0 is Microsoft’s programming language that is a superset of JavaScript.

Microsoft launched TypeScript in 2012 and released TypeScript 1.0 two years ago. With TypeScript, Microsoft does JavaScript one better with a programming language that enables JavaScript developers to build enterprise-scale applications.

The TypeScript project was led by Anders Hejlsberg, the father of Microsoft’s C# language.Hejlsberg spoke with eWEEK about the 1.0 release.

“JavaScript is tremendously popular these days and is sort of the only game in town when it comes to cross-platform, but it also is a dynamically typed language that was never really intended for more than 100- or maybe 1,000-line apps,” he said. “And now people are regularly writing 100,000- or 1 million-line apps in JavaScript. And those apps become tremendously hard to write and even harder to maintain once they get beyond a certain size—about tens of thousands of lines or so. It’s hard because JavaScript lacks a lot of these large-scale application-structuring concepts like classes and modules and interfaces, and also static typing is notably absent in JavaScript.”

Yet since 1.0, TypeScript has grown not only as a language but also as a community, Microsoft said. In its launch of the Angular 2 JavaScript development framework, Google relied on partner Microsoft for key tools and expertise.

TypeScript 2.0 brings several new features that enhance developer productivity, advances TypeScript’s alignment with ECMAScript’s evolution, provides wide support for JavaScript libraries and tools, and augments the language service that powers a first-class editing experience across tools, Microsoft’s TypeScript team said in a blog post.

Indeed, TypeScript 2.0 delivers several new features over even the 1.8 release, Microsoft said. New features include simplified declaration file acquisition, non-nullable types, control flow analyzed types and the read-only modifier. Other new features include tagged unions, the new never type, “this” types for functions and glob support in tsconfig.

Microsoft said that last month alone, TypeScript had more than 2 million downloads compared with just 275,000 in the same month last year.

“In addition, we’ve had tremendous adoption of the TypeScript nightly builds with over 2,000 users participating in discussion on GitHub and 1,500 users logging issues. We’ve also accepted PRs from over 150 users, ranging from bug fixes to prototypes and major features,” the TypeScript team blog said.

Advertisement

Moreover, DefinitelyTyped, the repository for high-quality TypeScript type definitions, is another example of the TypeScript community growing and maturing.

“Starting out as a small repository of declaration files, it now contains over 2,000 libraries that have been written by hand by over 2,500 individual contributors,” the TypeScript team blog said. “It is currently the largest formal description of JavaScript libraries that we know of. By building up DefinitelyTyped, the TypeScript community has not only supported the usage of TypeScript with existing JavaScript libraries but also better defined our understanding of all JavaScript code.”

Darryl K. Taft

Darryl K. Taft

Content Writer

Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

TechnologyAdvice が所有・運営しています。 © 2026 TechnologyAdvice. 無断転載を禁じます

広告主に関する開示:このサイトに掲載されている製品の一部は、TechnologyAdvice が報酬を受け取っている企業のものです。この報酬は、製品がこのサイトのどこにどのように表示されるか(表示される順序など)に影響する場合があります。TechnologyAdvice は、市場で入手可能なすべての企業やすべての種類の製品を掲載しているわけではありません。