2015-03-25 08:06:38 +01:00
|
|
|
=== tests/cases/conformance/decorators/class/method/decoratorOnClassMethod7.ts ===
|
|
|
|
declare function dec<T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
|
2015-04-13 23:01:57 +02:00
|
|
|
>dec : <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>, Symbol(dec, Decl(decoratorOnClassMethod7.ts, 0, 0))
|
|
|
|
>T : T, Symbol(T, Decl(decoratorOnClassMethod7.ts, 0, 21))
|
|
|
|
>target : any, Symbol(target, Decl(decoratorOnClassMethod7.ts, 0, 24))
|
|
|
|
>propertyKey : string, Symbol(propertyKey, Decl(decoratorOnClassMethod7.ts, 0, 36))
|
|
|
|
>descriptor : TypedPropertyDescriptor<T>, Symbol(descriptor, Decl(decoratorOnClassMethod7.ts, 0, 57))
|
|
|
|
>TypedPropertyDescriptor : TypedPropertyDescriptor<T>, Symbol(TypedPropertyDescriptor, Decl(lib.d.ts, 1171, 36))
|
|
|
|
>T : T, Symbol(T, Decl(decoratorOnClassMethod7.ts, 0, 21))
|
|
|
|
>TypedPropertyDescriptor : TypedPropertyDescriptor<T>, Symbol(TypedPropertyDescriptor, Decl(lib.d.ts, 1171, 36))
|
|
|
|
>T : T, Symbol(T, Decl(decoratorOnClassMethod7.ts, 0, 21))
|
2015-03-25 08:06:38 +01:00
|
|
|
|
|
|
|
class C {
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : C, Symbol(C, Decl(decoratorOnClassMethod7.ts, 0, 126))
|
2015-03-25 08:06:38 +01:00
|
|
|
|
|
|
|
@dec public ["method"]() {}
|
2015-04-13 23:01:57 +02:00
|
|
|
>dec : <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>, Symbol(dec, Decl(decoratorOnClassMethod7.ts, 0, 0))
|
2015-04-13 21:36:11 +02:00
|
|
|
>"method" : string
|
2015-03-25 08:06:38 +01:00
|
|
|
}
|