19 lines
1.3 KiB
Text
19 lines
1.3 KiB
Text
=== tests/cases/conformance/decorators/class/method/decoratorOnClassMethod4.ts ===
|
|
declare function dec<T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
|
|
>dec : <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>, Symbol(dec,Decl(decoratorOnClassMethod4.ts,0,0))
|
|
>T : T, Symbol(T,Decl(decoratorOnClassMethod4.ts,0,21))
|
|
>target : any, Symbol(target,Decl(decoratorOnClassMethod4.ts,0,24))
|
|
>propertyKey : string, Symbol(propertyKey,Decl(decoratorOnClassMethod4.ts,0,36))
|
|
>descriptor : TypedPropertyDescriptor<T>, Symbol(descriptor,Decl(decoratorOnClassMethod4.ts,0,57))
|
|
>TypedPropertyDescriptor : TypedPropertyDescriptor<T>, Symbol(TypedPropertyDescriptor,Decl(lib.d.ts,1171,36))
|
|
>T : T, Symbol(T,Decl(decoratorOnClassMethod4.ts,0,21))
|
|
>TypedPropertyDescriptor : TypedPropertyDescriptor<T>, Symbol(TypedPropertyDescriptor,Decl(lib.d.ts,1171,36))
|
|
>T : T, Symbol(T,Decl(decoratorOnClassMethod4.ts,0,21))
|
|
|
|
class C {
|
|
>C : C, Symbol(C,Decl(decoratorOnClassMethod4.ts,0,126))
|
|
|
|
@dec ["method"]() {}
|
|
>dec : <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>, Symbol(dec,Decl(decoratorOnClassMethod4.ts,0,0))
|
|
>"method" : string
|
|
}
|