Home MWH Bytes

Microsoft Unveils TypeScript 3.0 For Public

typescript 3.0

TypeScript is a typed superset of Javascript that compiles to plain javascript. Microsoft released Typescript version 2.0 in September 2016 just about a month after the release of the Release Candidate. Finally, Microsoft has raised the curtain off the Type Script 3.0 for the public.

TypeScript 2.8 and 3.0, here’s what’s new:

  • Project references
    • –build mode
    • Controlling output structure
  • Extracting and spreading parameter lists with tuples
  • Richer tuple types
  • The unknown type
  • Improved errors and UX
    • Related error spans
    • Improved messages and elaboration
  • Support for defaultProps in JSX
  • /// directives
  • Editor Productivity
    • Named import refactorings​
    • Closing JSX tag completions and outlining spans
    • Quick fixes for unreachable code and unused labels

If you want to get the latest version of TypeScript 3.0, you have to open the Node Package Manager. Then type the following command

npm install -g typescript

The editor support is presently available for Visual Studio 2015 and 2017. Support for the current Insider release of Visual Studio Code and Sublime Text 3 while support for TypeScript 3 will roll out to other popular editors over time. As well as the current Insider release of Visual Studio Code and Sublime Text 3 while support for TypeScript 3 will roll out to other popular editors over time.

About 

Happiness is that best therapy. Use it to heal yourself and then others!

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Exit mobile version