3 ms·
I know they're not the same, but I'd love to be able to use some of the thins I can use with decorators, but on plain objects.
by thomasfoster96 11y ago
I know they're not the same, but I'd love to be able to use some of the thins I can use with decorators, but on plain objects.
- eltaco 11y agoYou can also use them on class declarations themselves and object literals - https://github.com/wycats/javascript-decorators#object-literal-method-declaration https://github.com/wycats/javascript-decorators#object-liter...