Showing posts with label TypeScript. Show all posts
Showing posts with label TypeScript. Show all posts

Friday, 23 June 2017

Configuring Angular 2 with Visual Studio 2015

Configuring Angular 2 with Visual Studio 2015
1.       Install Node.js from below Path based on your system requirement.

Check which version of node has installed.

It should be 3.x.x.x

Thursday, 8 June 2017

Typescript with angularjs tutorial

Chapter 1

1. What is type script ?
Its devloped by microsoft to opt the feature of OOPS into javascript code.  extension for type script is .ts it refer to type script.  It is Superset of javascript, or say as Strong typing in javascript 

2.       Types :  Their are different type of data type to over come the type safe problem of var in javascript. 
Primitive :
number,
string ,
Boolean,
any

Custom 
interface
classes.

Wednesday, 17 February 2016

What is TypeScript

What is TypeScript

Type script is superset of javascript it compile on top of javascript only.  When Type script comple it will convert to javascript only. We are saying it as type script as it provide the Type safe javascript format. It uses the concept of OOPS and implement the javascript as OOPS based.
e.g. in Javascript we defined variable like;
var v = 20; // We don’t defined the type.
But if you see in type script it will be
var v : number = 20; // We defined the type
Command to install Type Script in node.js
npm install -g typescript


You can download the type script from Microsoft by given below link: