TypeScript/tests/baselines/reference/decoratorOnClassMethodParameter1.types

16 lines
1.1 KiB
Text

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