In this post on the Significance of Tuples in TypeScript, I will explain to you the benefits of tuples data structure in TypeScript with the help of a few examples. As a matter of fact, when we need to store lots of values together, then we use an array. However, all elements of the array …
Working with Arrays in TypeScript
In this post on Working with Arrays in TypeScript, I will explain how to use arrays in TypeScript with several examples. Like many other programming languages, TypeScript also supports arrays. Basically, arrays refer to a user-defined data type that contains multiple values. Usually, the values that an array contains, all belong to the same data …
Creating Classes in TypeScript
In this post on Creating Classes in TypeScript, I will explain how we can define a class in TypeScript with the help of a few examples. Also, I will also explain the implementation of inheritance in TypeScript with an example. Creating Classes in TypeScripteScript allows creating classes and this feature makes it an object-oriented language. However, the …
Introduction to Programming in TypeScript
Microsoft introduced TypeScript in October 2012. So if you are already familiar with web development, then you must have worked with JavaScript and TypeScript is the superset of JavaScript. Why should you consider developing in TypeScript rather than JavaScript which you are already familiar with? In this post on Introduction to Programming in TypeScript, I …