2015-03-25 01:00:29 +01:00
|
|
|
=== tests/cases/conformance/decorators/class/method/parameter/decoratorOnClassMethodParameter1.ts ===
|
2015-05-22 01:45:23 +02:00
|
|
|
declare function dec(target: Object, propertyKey: string | symbol, parameterIndex: number): void;
|
|
|
|
>dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void
|
|
|
|
>target : Object
|
|
|
|
>Object : Object
|
2015-04-16 01:44:20 +02:00
|
|
|
>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
|
2015-05-22 01:45:23 +02:00
|
|
|
>dec : (target: Object, propertyKey: string | symbol, parameterIndex: number) => void
|
2015-04-16 01:44:20 +02:00
|
|
|
>p : number
|
2015-03-25 01:00:29 +01:00
|
|
|
}
|