Added positive test case suggested in #6129.
This commit is contained in:
parent
3969b89b23
commit
73de79c68c
|
@ -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() { }
|
||||
}
|
Loading…
Reference in a new issue