2015-03-25 08:06:38 +01:00
|
|
|
=== tests/cases/conformance/decorators/class/method/decoratorOnClassMethod1.ts ===
|
|
|
|
declare function dec<T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
|
2015-04-16 01:44:20 +02:00
|
|
|
>dec : <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>
|
|
|
|
>T : T
|
|
|
|
>target : any
|
|
|
|
>propertyKey : string
|
|
|
|
>descriptor : TypedPropertyDescriptor<T>
|
|
|
|
>TypedPropertyDescriptor : TypedPropertyDescriptor<T>
|
|
|
|
>T : T
|
|
|
|
>TypedPropertyDescriptor : TypedPropertyDescriptor<T>
|
|
|
|
>T : T
|
2015-03-25 08:06:38 +01:00
|
|
|
|
|
|
|
class C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
2015-03-25 08:06:38 +01:00
|
|
|
|
|
|
|
@dec method() {}
|
2015-04-16 01:44:20 +02:00
|
|
|
>dec : <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>
|
|
|
|
>method : () => void
|
2015-03-25 08:06:38 +01:00
|
|
|
}
|