TypeScript Rest Parameters

TypeScript Rest parameters allows a function to take unlimited parameters. Rest parameters are used when we are designing a function and we do not know how many parameters are required. Rest parameters feature group parameters into a single variable and we can access parameters inside a function just like an …

TypeScript Rest Parameters Read More

TypeScript Interfaces

In this tutorial, we will learn about TypeScript Interfaces.Properties and functions that an object must have are specified by an interface. For instance, all objects that implement this interface must have the two properties “make” and “name,” which are defined for the interface ICar. Only properties and function signatures can …

TypeScript Interfaces Read More

TypeScript Abstract Class

A TypeScript Abstract class is a class which may have some unimplemented methods. These methods are called abstract methods. We can’t create an instance of an abstract class. But other classes can derived from abstract class and reuse the functionality of base class. TypeScript Interface vs Abstract Class Interface Abstract Class All …

TypeScript Abstract Class Read More