TypeScript

Learning Property Decorator in TypeScript with Examples

In this post on Creating Parameter Decorators in TypeScript, I will explain another type of important decorator in TypeScript, which is the Parameter Decorator. However, we usually don’t use parameter decorators alone. Most of the time, they are used along with some other decorators like the method decorators. Basically, the significance of parameter decorators lies …

TypeScript

Explaining Interfaces in TypeScript with Examples

In this post on Explaining Interfaces in TypeScript with Examples, I will demonstrate how to create and use an interface in TypeScript. Interfaces in TypeScript Similar to the interfaces in other programming languages, TypeScript also has interfaces and they also serve the same purpose of providing a specification before the implementation. Essentially, interfaces allow us …