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

14 lines
353 B
Plaintext

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