Conditional Decorator
A decorator which can wrap other decorator
Installation
npm install conditional-decorator
Usage
;; @logger { // ... } @ { // ... }
API
You can read TypeDoc-generated documentation here
Using with TypeScript
TBD
Todo
- Test for:
- Object Literal Method Declaration
- Object Literal Accessor Declaration
Both are unavailable in TypeScript 1.6.2, so test should be done in Babel with es6.decorators
option