2015-03-25 01:00:29 +01:00
|
|
|
=== tests/cases/conformance/decorators/class/property/decoratorOnClassProperty10.ts ===
|
|
|
|
declare function dec(): <T>(target: any, propertyKey: string) => void;
|
2015-04-16 01:44:20 +02:00
|
|
|
>dec : () => <T>(target: any, propertyKey: string) => void
|
|
|
|
>T : T
|
|
|
|
>target : any
|
|
|
|
>propertyKey : string
|
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
|
|
|
|
|
|
|
@dec() prop;
|
|
|
|
>dec() : <T>(target: any, propertyKey: string) => void
|
2015-04-16 01:44:20 +02:00
|
|
|
>dec : () => <T>(target: any, propertyKey: string) => void
|
|
|
|
>prop : any
|
2015-03-25 01:00:29 +01:00
|
|
|
}
|