16 lines
583 B
Text
16 lines
583 B
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
|
|
>target : Function
|
|
>Function : Function
|
|
>propertyKey : string | symbol
|
|
>parameterIndex : number
|
|
|
|
class C {
|
|
>C : C
|
|
|
|
method(@dec p: number) {}
|
|
>method : (p: number) => void
|
|
>dec : (target: Function, propertyKey: string | symbol, parameterIndex: number) => void
|
|
>p : number
|
|
}
|