Home
last modified time | relevance | path

Searched refs:PropertyDescriptor (Results 1 – 25 of 61) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DsourceMapValidationDecorators.types11 …on PropertyDecorator1(target: Object, key: string | symbol, descriptor?: PropertyDescriptor): void;
12 >PropertyDecorator1 : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => vo…
15 >descriptor : PropertyDescriptor
17 …rator2(x: number): (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void;
18 …r2 : (x: number) => (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void
22 >descriptor : PropertyDescriptor
73 >PropertyDecorator1 : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => vo…
76 >PropertyDecorator2(40) : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) =…
77 …r2 : (x: number) => (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void
94 >PropertyDecorator1 : (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => vo…
[all …]
DjsDeclarationsExportDefinePropertyEmit.types4 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
6 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
18 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
20 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
32 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
34 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
59 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
61 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
86 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
88 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
[all …]
DgetterSetterNonAccessor.types10 Object.defineProperty({}, "0", <PropertyDescriptor>({
11 >Object.defineProperty({}, "0", <PropertyDescriptor>({ get: getFunc, set: setFunc…
12 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
14 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
17 ><PropertyDescriptor>({ get: getFunc, set: setFunc, configurable: true …
DobjectLitGetterSetter.types6 Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({
7 >Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({ get: function () {…
8 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
10 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
13PropertyDescriptor>({ get: function () { eval("public = 1;"); …
DcheckOtherObjectAssignProperty.types92 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
94 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
109 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
111 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
126 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
128 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
140 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
142 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
149 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
151 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
[all …]
DcheckExportsObjectAssignProperty.types179 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
181 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
192 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
194 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
205 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
207 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
218 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
220 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
229 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
231 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
[all …]
DcheckExportsObjectAssignPrototypeProperty.types132 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
134 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
147 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
149 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
162 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
164 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
177 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
179 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
190 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
192 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DjsDeclarationsGetterSetter.types45 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
47 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
67 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
69 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
90 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
92 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DjsCheckObjectDefineThisNoCrash.types9 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
11 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
20 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
22 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DcheckObjectDefineProperty.types92 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
94 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
105 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
107 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
116 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
118 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
129 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
131 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
142 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
144 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
[all …]
DdecoratorWithUnderscoreMethod.types10 return function (target: any, propKey: string, descr: PropertyDescriptor): void {
11PropertyDescriptor): void { console.log(target[propKey]); //logs undefined //…
14 >descr : PropertyDescriptor
DobjectLitGetterSetter.symbols5 Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({
10 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
DgetterSetterNonAccessor.symbols9 Object.defineProperty({}, "0", <PropertyDescriptor>({
13 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
DexcessPropertyCheckWithEmptyObject.errors.txt1 …ing; readonly: boolean; }' is not assignable to parameter of type 'PropertyDescriptor & ThisType<a…
2 …y specify known properties, and 'readonly' does not exist in type 'PropertyDescriptor & ThisType<a…
15 …ing; readonly: boolean; }' is not assignable to parameter of type 'PropertyDescriptor & ThisType<a…
16 …y specify known properties, and 'readonly' does not exist in type 'PropertyDescriptor & ThisType<a…
DlateBoundAssignmentDeclarationSupport3.types35 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
37 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
48 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
50 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DensureNoCrashExportAssignmentDefineProperrtyPotentialMerge.types17 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
19 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
62 >Object.defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) =…
64 >defineProperty : (o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => any
DdecoratorWithUnderscoreMethod.symbols11 return function (target: any, propKey: string, descr: PropertyDescriptor): void {
15 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
DsourceMapValidationDecorators.symbols13 …on PropertyDecorator1(target: Object, key: string | symbol, descriptor?: PropertyDescriptor): void;
19 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
21 …rator2(x: number): (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void;
28 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
/third_party/typescript/tests/baselines/reference/convertToAsyncFunction/
DconvertToAsyncFunction_decoratedMethodWithModifier.ts4 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
16 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
DconvertToAsyncFunction_decoratedMethod.ts4 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
16 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
DconvertToAsyncFunction_decoratedMethodWithSingleLineComment.ts4 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
17 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
DconvertToAsyncFunction_decoratedMethodWithMultipleLineComment.ts4 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
19 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
/third_party/typescript/lib/
Dlib.es2015.reflect.d.ts47 … defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
72 …function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | …
/third_party/typescript/src/lib/
Des2015.reflect.d.ts27 … defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
52 …function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | …
/third_party/typescript/tests/cases/compiler/
DsourceMapValidationDecorators.ts6 …on PropertyDecorator1(target: Object, key: string | symbol, descriptor?: PropertyDescriptor): void;
7 …rator2(x: number): (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void;

123