MSPUImage

Today Microsoft released the final version of TypeScript 2.0, adding new features and improvements. TypeScript is what Microsoft likes to calls “JavaScript that scales” – providing better performance and scalability for large applications, along with developer goodness of a typed language.

Here is a list of some of the new features found in TypeScript 2.0:

  • Simplified Declaration File (.d.ts) Acquisition
  • Non-nullable Types
  • Control Flow Analysis for Types
  • Easier Module Declarations
  • Async/Await down level support
  • Readonly Modifier

TypeScript’s future looks promising. In a blog post by the TypeScript team…

“Going forward, we will continue to work with our partners and the community to evolve TypeScript’s type system to allow users to further express JavaScript in a statically typed fashion. In addition, we will focus on enhancing the TypeScript language service and set of tooling features so that developer tools become smarter and further boost developer productivity.”

TypeScript 2.0 is available now to download with Visual Studio 2015 Update 3. You can also use npm to install TypeScript 2.0 by running the following command:

npm install –g typescript@2.0

 

Reference

https://blogs.msdn.microsoft.com/typescript/2016/09/22/announcing-typescript-2-0/

Last week Microsoft announced a superset of JavaScript called TypeScript, which is aimed at solving a very specific problem…getting JavaScript to scale.

“Today, we’re introducing a new programming language that solves a very specific problem – getting JavaScript development to scale,” Microsoft corporate vice president Soma Somasegar writes on his blog. “That language is TypeScript. You can learn more about the TypeScript project, download an early preview, read and discuss the language specification, explore the online playground, and peruse the source of the compiler (on the TypeScript project site on CodePlex, with git).”

TypeScript is a programming language that makes it easier to write cross-platform, application scale, JavaScript that runs in any browser or in any host.  Microsoft Technical Fellow Anders Hejlsberg explains how TypeScript, which is a typed superset of JavaScript that compiles to idiomatic (normal) JavaScript, can dramatically improve your productivity by enabling rich tooling experiences, all while maintaining your existing code and continuing to use the same JavaScript libraries you already love.

TypeScript adds some great functionality like type checking, static analysis, explicit interfaces and best practices. TypeScript is also an open, standards-based and 100% compatible with JavaScript.

Here’s a good overview of and introduction to TypeScript by Anders Hejlsberg:

sshot-352

This all seems good and only time and adoption will tells us whether TypeScript can truly scale past the success of JavaScript.

Ken Cenerelli

My life in software development

scomfaq.wordpress.com/

Things about System Center and Cloud...

Build HoloLens

All about HoloLens

DevDays®

For web designers and cloud developers

Build Azure

All about the Microsoft Cloud

vishal patel

Software Developer, Windows 8 and Windows Phone Enthusiast

SQL with Manoj

SQL Server (TSQL) Programming, DB concepts, Tips & Tricks with >400 articles... comments welcome!!!

dragablz.wordpress.com/

Dragable, tearable, dockable WPF TabControl. Open source to boot.

Adrian Hall

Because Developers are Awesome

Ratish Philip's Blog

Another adventure in code...

codematrix

Application Architecture at it's best

One Unicorn

Thoughts from one member of the Entity Framework team...

Rachel Lim's Blog

Simplifying programming into something I can understand

.NET Developer's Blog

Software Development, Flying and Life

The Flying Maverick

Software Development, Flying and Life

Hiking Photography

Beautiful photos of hiking and other outdoor adventures.

paint.net blog

The best free image and photo editor. By Rick Brewster.

Learning by Shipping

products, development, management...

Nassau Boy's Trading Thoughts

Never Mind the Noise in the Market, Just Mind the Price of the Fish

%d bloggers like this: