noop-decorator
Decorator methods to noopify
yarn add noop-decorator
Usage
@noopDecorator { ... } @noopDecorator static { ... }A // noopconst a = a // noop
Argument
{Function|any}
const comparator = 1 === 1const comparator1 = state @ { ... } @ { ... } @ { ... }const a = a // noopa // runa // run
Contributing
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
License
© sugarshin