2015-03-25 01:00:29 +01:00
|
|
|
=== tests/cases/conformance/decorators/class/method/parameter/decoratorOnClassMethodParameter1.ts ===
|
|
|
|
declare function dec(target: Function, propertyKey: string | symbol, parameterIndex: number): void;
|
2015-04-16 01:44:20 +02:00
|
|
|
>dec : (target: Function, propertyKey: string | symbol, parameterIndex: number) => void
|
|
|
|
>target : Function
|
|
|
|
>Function : Function
|
|
|
|
>propertyKey : string | symbol
|
|
|
|
>parameterIndex : number
|
2015-03-25 01:00:29 +01:00
|
|
|
|
|
|
|
class C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
2015-03-25 01:00:29 +01:00
|
|
|
|
|
|
|
method(@dec p: number) {}
|
2015-04-16 01:44:20 +02:00
|
|
|
>method : (p: number) => void
|
|
|
|
>dec : (target: Function, propertyKey: string | symbol, parameterIndex: number) => void
|
|
|
|
>p : number
|
2015-03-25 01:00:29 +01:00
|
|
|
}
|