Typescript Tutorial
Typescript Tutorial
Typescript Tutorial
TUTORIAL
TypeScript is an open-source object-oriented
language developed and maintained by Microsoft,
licensed under Apache 2 license.
TYPESCRIPT OVERVIEW
TypeScript is an open-source object-oriented language developed
and maintained by Microsoft, licensed under Apache 2 license.
It is a typed superset of JavaScript that compiles to plain
JavaScript.
TypeScript was developed under Anders Hejlsberg, who also led the
creation of the C# language. TypeScript was first released in October
2012.
Prerequisites
Basic knowledge of JavaScript is required.
INSTALL
TYPESCRI
PT
In the above example, each variable is declared with their data type.
Here, we declare an object employee with two properties id and name with the
data type number and string respectively.