ECMAScript is a specification for scripting languages such as JavaScript.Suppose if a browser supports specifications of ECMAScript then it will execute code written in any ECMAScript compatible language.In other words ECMAScript compatible scripting … [Continue reading] about ECMAScript and JavaScript
Data Types in TypeScript
TypeScript adds new useful features to JavaScript. One such feature is type system in TypeScript. In JavaScript types are dynamic,this means that variable are not of any specific type.So a variable can be assigned values of different types during its … [Continue reading] about Data Types in TypeScript
Declaring Modules in TypeScript
TypeScript has the concept of modules.Here we will see how to declare modules in TypeScript. When working on any application it helps to keep the code organized.Keeping the code organized provides the following advantages: Code is easier to … [Continue reading] about Declaring Modules in TypeScript
Renaming file or directory in Git
A common scenario while working with configuration management tools such as git is to rename existing files and directories. If you just rename an existing file or directory then git will not be aware of this change.You need to inform git of … [Continue reading] about Renaming file or directory in Git
Generic Function in TypeScript
Generic functions are defined by declaring a type parameter when declaring the function ,in angular brackets.The type parameter is the placeholder which is replaced by the actual type arguments when the program executes. So we define a generic … [Continue reading] about Generic Function in TypeScript