Decorating your code with TypeScript Decorators
A decorator is a special kind of declaration that can help in extending the functionality of your code. They are helpful for anything you want to transparently wrap with extra functionality. These include memoization, enforcing access control and authentication, logging etc. In this talk, I’ll talk about decorators in TypeScript and using them in your code.
The decorator design pattern in Oops.
Getting started with Typescript
Decorators in Typescript
- Class decorators
- Method Decorators
- Accessor Decorators
- Property Decorators
Some other code examples
A basic understanding of Typescript
Hi! I am Dhiraj and I work as a Full Stack Developer at Cloudnaut Technologies. Lately I’ve been working on Typescript and NestJS.