This is the second article in the “Metaprogramming in JavaScript and TypeScript” series. It is highly recommended that you read the first part too: Metaprogramming JavaScript / TypeScript Part #1:
descriptors.
JavaScript / TypeScript metaprogramming basics. Method and property descriptor. Usage, examples, and the simplest…medium.com In this article, we will talk about Decorators and why it’s so great!!