Typescript Decorator

Creator
Creator
Seonglae Cho
Created
Created
2020 Nov 24 5:45
Editor
Edited
Edited
2025 Jun 4 10:14

A decorator is a function that receives the class, property, method, or parameter that is defined below it

The execution order is: property -> method -> parameter -> class

@ Function which return Function for decorate

{ "compilerOptions": { "target": "ES6", "experimentalDecorators": true, "emitDecoratorMetadata": true } }
Typescript Decorators
 
 
 
 

vscode issue

 
 
 

Recommendations