TypeScript Features - Tuong-Nguyen/Angular-D3-Cometd GitHub Wiki

Introduction

TypeScript is superset of JavaScript. TypeScript can be compiled into JavaScript.

Features

TypeScript Feature

  • Compilation
  • Support OOP as C#/Java. We can take advantage of our knowledge & experience on those languages into TypeScript

Keywords

  • Class
  • Constructor
  • Interface
  • extends
  • implements
  • ...: rest parameter list
  • Public/Private: visibility modifier
  • =>: lambda expression
  • module/namespace
  • imports: import module
  • exports: export member from module
  • as: cast type

Code hierarchy

Code Hierarchy