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