Added positive test case suggested in #6129.

This commit is contained in:
Daniel Rosenwasser 2015-12-21 13:42:24 -08:00
parent 3969b89b23
commit 73de79c68c

View file

@ -0,0 +1,9 @@
// @target: ES5
// @experimentaldecorators: true
declare function dec<T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
class C {
method()
@dec
method() { }
}