TypeScript/tests/baselines/reference/decoratorOnClassProperty10.types

16 lines
440 B
Plaintext
Raw Normal View History

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;
>dec : () => <T>(target: any, propertyKey: string) => void
>T : T
>target : any
>propertyKey : string
2015-03-25 01:00:29 +01:00
class C {
>C : C
2015-03-25 01:00:29 +01:00
@dec() prop;
>dec() : <T>(target: any, propertyKey: string) => void
>dec : () => <T>(target: any, propertyKey: string) => void
>prop : any
2015-03-25 01:00:29 +01:00
}