TypeScript/tests/baselines/reference/decoratorOnClassProperty2.types

14 lines
353 B
Plaintext
Raw Normal View History

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