jayphelps / core-decorators

Library of stage-0 JavaScript decorators (aka ES2016/ES7 decorators but not accurate) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more. Popular with React/Angular, but is framework agnostic.
MIT License
4.52k stars 263 forks source link

how to add decorator base core-decorator #113

Closed jiangtao closed 6 years ago

jiangtao commented 7 years ago

I want to add some decorator based on core-decorator. How to add ? Can the author support the AddDecorator API for developer? Not fork the repo~

jayphelps commented 7 years ago

If you'd like to have a new decorator added to core-decorators the best thing to do would be to create a proposal--basically just describe what it does and why you think it belongs in core-decorators instead of in its own library. 😄

Also make sure it doesn't overlap with lodash-decorators, since we've recently deprecated the ones that do.