15 lines
440 B
Text
15 lines
440 B
Text
=== 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
|
|
}
|