Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function decoratorName(value: string) { // this is the decorator factory
- return function (target) { // this is the decorator
- // do something with 'target' and 'value'...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement