Typescript Starter

npm install -g typescript

Introduction

TypeScript isn’t a completely new language, it’s a superset of ES6. If we write ES6 code, it’s perfectly valid and compilable TypeScript code.

Typescript

Typescript Compiler = Converts Typescript code to ES5 ES6 Compiler = Converts ES6 code to ES5 ( Traceur / Babel)

Why Typescript

  • types

  • classes

  • annotations

  • imports

  • language utilities (e.g. destructuring)

Last updated

Was this helpful?