TypeScript Language Quick Reference – Nishant Rana’s Weblog

Data Types in TypeScript

Access Modifier

  • Any keyword is similar to Var keyword in JavaScript

Properties

Arrow Function

  • TypeScript contains type information for standard JavaScript objects, and using Type Definitions we can refer or get the type information for the external libraries.

https://github.com/DefinitelyTyped/DefinitelyTyped/

  • let has block scope and var has function scope.

Now let us replace var with let keyword, we get an error as shown below

For loop

Inheritance

Continue Reading Nishant Rana’s Article on their blog

TypeScript Language Quick Reference – Nishant Rana’s Weblog

Blog Syndicated with Nishant Rana’s Permission

Author: Nishant Rana

Share This Post On