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