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