/third_party/typescript/tests/baselines/reference/ |
D | sourceMapValidationDecorators.types | 11 …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 …]
|
D | jsDeclarationsExportDefinePropertyEmit.types | 4 >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 …]
|
D | getterSetterNonAccessor.types | 10 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 …
|
D | objectLitGetterSetter.types | 6 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 13 …PropertyDescriptor>({ get: function () { eval("public = 1;"); …
|
D | checkOtherObjectAssignProperty.types | 92 >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 …]
|
D | checkExportsObjectAssignProperty.types | 179 >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 …]
|
D | checkExportsObjectAssignPrototypeProperty.types | 132 >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
|
D | jsDeclarationsGetterSetter.types | 45 >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
|
D | jsCheckObjectDefineThisNoCrash.types | 9 >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
|
D | checkObjectDefineProperty.types | 92 >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 …]
|
D | decoratorWithUnderscoreMethod.types | 10 return function (target: any, propKey: string, descr: PropertyDescriptor): void { 11 …PropertyDescriptor): void { console.log(target[propKey]); //logs undefined //… 14 >descr : PropertyDescriptor
|
D | objectLitGetterSetter.symbols | 5 Object.defineProperty(obj, "accProperty", <PropertyDescriptor>({ 10 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
|
D | getterSetterNonAccessor.symbols | 9 Object.defineProperty({}, "0", <PropertyDescriptor>({ 13 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
|
D | excessPropertyCheckWithEmptyObject.errors.txt | 1 …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…
|
D | lateBoundAssignmentDeclarationSupport3.types | 35 >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
|
D | ensureNoCrashExportAssignmentDefineProperrtyPotentialMerge.types | 17 >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
|
D | decoratorWithUnderscoreMethod.symbols | 11 return function (target: any, propKey: string, descr: PropertyDescriptor): void { 15 >PropertyDescriptor : Symbol(PropertyDescriptor, Decl(lib.es5.d.ts, --, --))
|
D | sourceMapValidationDecorators.symbols | 13 …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/ |
D | convertToAsyncFunction_decoratedMethodWithModifier.ts | 4 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor; 16 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
|
D | convertToAsyncFunction_decoratedMethod.ts | 4 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor; 16 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
|
D | convertToAsyncFunction_decoratedMethodWithSingleLineComment.ts | 4 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor; 17 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
|
D | convertToAsyncFunction_decoratedMethodWithMultipleLineComment.ts | 4 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor; 19 return (target: any, key: any, descriptor: PropertyDescriptor) => descriptor;
|
/third_party/typescript/lib/ |
D | lib.es2015.reflect.d.ts | 47 … defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean; 72 …function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | …
|
/third_party/typescript/src/lib/ |
D | es2015.reflect.d.ts | 27 … defineProperty(target: object, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean; 52 …function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | …
|
/third_party/typescript/tests/cases/compiler/ |
D | sourceMapValidationDecorators.ts | 6 …on PropertyDecorator1(target: Object, key: string | symbol, descriptor?: PropertyDescriptor): void; 7 …rator2(x: number): (target: Object, key: string | symbol, descriptor?: PropertyDescriptor) => void;
|