by Yogesh | Aug 16, 2018 | Angular 4 Tutorial, Type Script Tutorial
Introduction of typescript 3.0 and new features of typescript 3.0 typescript 3.0 unveiled by Microsoft. Typescript is an open source which is a superset of javascript. Various new features are introduced in typescript 3.0 which makes easy developer efforts to handle...
by Yogesh | Feb 22, 2018 | Type Script Tutorial
function getdata2(){ if (arguments.length > 0) { for (var i = 0; i < arguments.length; i++) { console.log(arguments[i]); } } } Call Call...
by Yogesh | Feb 22, 2018 | Type Script Tutorial
type script for loop //For Of Example var myfun = () => { var num: number[] = [2, 3, 10, 19] for (var item of num) { console.log(item); } } function getdata(): any { alert('hello'); } function getdata1(a: string, b: string, c: string='pratap nagar'): any {...
by Yogesh | Feb 22, 2018 | Type Script Tutorial
Type Script Array Example var myfun = () => { var num: number[] = [2, 3, 10, 19] for (var i = 0; i < num.length; i++) { console.log(num[i]) } }
by Yogesh | Feb 22, 2018 | Type Script Tutorial
Run Project Using Command Prompt. Create Folder in D Drive Create file app.ts Open Command Prompt ,Reach upto File Write Following Command : tsc app.ts It will create an js file(app.js) Run File : node app.js Variable declaration in typescript: Variable Declared in...