bind-decorator
The fastest automatic method.bind(this) decorator
The fastest automatic method.bind(this) decorator
it binds methods to its class prototype + Compatible with stub/spy used on unit-test frameworks (Sinon.Js, enzyme,...so on) + Can be integrated with 3rd party decorators (like @autobind decorator)
🏭 class-decorator is an easy-to-use toolbox that provides class validation, conversion, and property binding functions