Skip to content

TypeScript - A superset of JavaScript with static typing

Notifications You must be signed in to change notification settings

piyushpatel2005/TypeScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript


JavaScript that Scales

TypeScript is a superset of JavaScript. It includes static typing which is the main feature of TypeScript. That means it gives errors at compile time.

TypeScript compiler compiles TypeScript code into JavaScript with specification ES3 or above.

TypeScript can be downloaded using node package manager using following command.

npm install -g typescript

You can check various options by typing tsc on command line.

You can also check the version of TypeScript compiler using:

tsc -v

Prerequisite:

This lessons assume familiarity with OOP, preferably Java or C#. This course does not explain OOP concepts so it would be helpful if you already know about them.

Benefits of Typescript

  • Compilation
  • Strong typing
  • Integration with popular JS libraries
  • Encapsulation
  • Private and public member variables

Table of Contents

  1. Variables in TS
  2. Complex Types
  3. Configuration

About

TypeScript - A superset of JavaScript with static typing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published