TypeScript/tests/baselines/reference/decoratorOnClassProperty10.types
2015-04-15 16:44:20 -07:00

16 lines
440 B
Plaintext

=== 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
class C {
>C : C
@dec() prop;
>dec() : <T>(target: any, propertyKey: string) => void
>dec : () => <T>(target: any, propertyKey: string) => void
>prop : any
}