2015-03-25 08:06:38 +01:00
|
|
|
=== tests/cases/conformance/decorators/class/accessor/decoratorOnClassAccessor4.ts ===
|
|
|
|
declare function dec<T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
|
2015-04-13 23:01:57 +02:00
|
|
|
>dec : <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>, Symbol(dec, Decl(decoratorOnClassAccessor4.ts, 0, 0))
|
|
|
|
>T : T, Symbol(T, Decl(decoratorOnClassAccessor4.ts, 0, 21))
|
|
|
|
>target : any, Symbol(target, Decl(decoratorOnClassAccessor4.ts, 0, 24))
|
|
|
|
>propertyKey : string, Symbol(propertyKey, Decl(decoratorOnClassAccessor4.ts, 0, 36))
|
|
|
|
>descriptor : TypedPropertyDescriptor<T>, Symbol(descriptor, Decl(decoratorOnClassAccessor4.ts, 0, 57))
|
|
|
|
>TypedPropertyDescriptor : TypedPropertyDescriptor<T>, Symbol(TypedPropertyDescriptor, Decl(lib.d.ts, 1171, 36))
|
|
|
|
>T : T, Symbol(T, Decl(decoratorOnClassAccessor4.ts, 0, 21))
|
|
|
|
>TypedPropertyDescriptor : TypedPropertyDescriptor<T>, Symbol(TypedPropertyDescriptor, Decl(lib.d.ts, 1171, 36))
|
|
|
|
>T : T, Symbol(T, Decl(decoratorOnClassAccessor4.ts, 0, 21))
|
2015-03-25 08:06:38 +01:00
|
|
|
|
|
|
|
class C {
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : C, Symbol(C, Decl(decoratorOnClassAccessor4.ts, 0, 126))
|
2015-03-25 08:06:38 +01:00
|
|
|
|
|
|
|
@dec set accessor(value: number) { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>dec : <T>(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>, Symbol(dec, Decl(decoratorOnClassAccessor4.ts, 0, 0))
|
|
|
|
>accessor : number, Symbol(accessor, Decl(decoratorOnClassAccessor4.ts, 2, 9))
|
|
|
|
>value : number, Symbol(value, Decl(decoratorOnClassAccessor4.ts, 3, 22))
|
2015-03-25 08:06:38 +01:00
|
|
|
}
|