Introduction of TypeScript

by Virender
June 25, 2015

TypeScript is a typed superset of JavaScript . TypeScript is a language which compile code into JavaScript . It’s not like other script language like Coffee script , Jquery etc. which run into client side , compiler compile the code into server and its automatically generate JavaScript TypeScript adds optional types, classes, and modules to JavaScript.   

You can use JavaScript with TypeScript also. Typescript is developed by Microsoft. Typescript is very good technology. Type Script is completely open source.  

TypeScript also support ECMA Script.

Example –

Java Script 

function greeter(person) {
return "Hello, " + person;

var user = "Jane User";

document.body.innerHTML = greeter(user);

function greeter(person: string) {
return "Hello, " + person;

var user = "Jane User";

document.body.innerHTML = greeter(user);
TypeScript use .ts for their extension. You can compile .ts file using following command. Visual studio automatically create .js file from .ts file on same root . If TypeScript install .
tsc greeter.ts

Future of TypeScript – 

TypeScript is growing day by day due to its advance features and  One of the main reason of popularity of TypeScript is AngularJs 2.

AngularJs 2 will be develop with TypeScript. Learn more about here.  –

Learn more about TypeScript integration with other framework etc. –
TypeScript Resources

Submit bugs –
StackOverflow –
TypeScript Fundamentals on Pluralsight –
Jonathan Turner’s talk on TypeScript in Angular from ng-conf –
Creating a TypeScript Workflow with Gulp –


You can see roadmap of TypeScript here. –


Notify of
Inline Feedbacks
View all comments

Related posts