Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
thomasfoster96
11y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
eltaco
11y ago
You can also use them on class declarations themselves and object literals -
https://github.com/wycats/javascript-decorators#object-liter...
j
/
k
navigate · click thread line to collapse