From 9bac2b088a96bf2ef474f594ba5ca9e7d55076bf Mon Sep 17 00:00:00 2001 From: Ivo Stratev Date: Thu, 8 Sep 2016 19:21:51 +0300 Subject: [PATCH] Fixing decorating name --- autobind-decorator/autobind-decorator-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autobind-decorator/autobind-decorator-tests.ts b/autobind-decorator/autobind-decorator-tests.ts index 7e784ce226..693e070183 100644 --- a/autobind-decorator/autobind-decorator-tests.ts +++ b/autobind-decorator/autobind-decorator-tests.ts @@ -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); }