Fixing decorating name

This commit is contained in:
Ivo Stratev
2016-09-08 19:21:51 +03:00
committed by GitHub
parent 8bd86aa682
commit 9bac2b088a
@@ -5,7 +5,7 @@ import autobind = require('autobind-decorator');
class Test {
public static what: string = 'static';
@bind
@autobind
public static test(): void {
console.log(this.what);
}
@@ -14,7 +14,7 @@ class Test {
this.what = what;
}
@bind
@autobind
public test(): void {
console.warn(this.what);
}