How to Create Accessor Decorators in TypeScript
TypeScript

How to Create Accessor Decorators in TypeScript

In this post on How to Create Accessor Decorators in TypeScript, I will explain the accessor decorators with few examples. Analogous to other decorators in TypeScript, the accessor decorators also represent the metadata. However, they are used with the get and set accessors of the properties of a class. Certainly, the accessor decorators are placed […]

Creating Parameter Decorators in TypeScript
TypeScript

Creating Parameter Decorators in TypeScript

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 […]

Explaining Interfaces in TypeScript with Examples
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 […]