16 lines
932 B
Text
16 lines
932 B
Text
=== tests/cases/conformance/decorators/class/method/parameter/decoratorOnClassMethodParameter1.ts ===
|
|
declare function dec(target: Function, propertyKey: string | symbol, parameterIndex: number): void;
|
|
>dec : Symbol(dec, Decl(decoratorOnClassMethodParameter1.ts, 0, 0))
|
|
>target : Symbol(target, Decl(decoratorOnClassMethodParameter1.ts, 0, 21))
|
|
>Function : Symbol(Function, Decl(lib.d.ts, 223, 38), Decl(lib.d.ts, 269, 11))
|
|
>propertyKey : Symbol(propertyKey, Decl(decoratorOnClassMethodParameter1.ts, 0, 38))
|
|
>parameterIndex : Symbol(parameterIndex, Decl(decoratorOnClassMethodParameter1.ts, 0, 68))
|
|
|
|
class C {
|
|
>C : Symbol(C, Decl(decoratorOnClassMethodParameter1.ts, 0, 99))
|
|
|
|
method(@dec p: number) {}
|
|
>method : Symbol(method, Decl(decoratorOnClassMethodParameter1.ts, 2, 9))
|
|
>dec : Symbol(dec, Decl(decoratorOnClassMethodParameter1.ts, 0, 0))
|
|
>p : Symbol(p, Decl(decoratorOnClassMethodParameter1.ts, 3, 11))
|
|
}
|