/third_party/typescript/tests/baselines/reference/ |
D | duplicateOverloadInTypeAugmentation1.types | 3 reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, 4 …callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T; (callb… 5 >callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T 14 … reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, 15 …callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T; (callb… 16 >callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U 31 …callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) =… 33 …callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) =…
|
D | implementArrayInterface.types | 71 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 72 >every : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => boolean 73 >callbackfn : (value: T, index: number, array: T[]) => boolean 79 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 80 >some : (callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any) => boolean 81 >callbackfn : (value: T, index: number, array: T[]) => boolean 87 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; 88 >forEach : (callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any) => void 89 >callbackfn : (value: T, index: number, array: T[]) => void 95 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; [all …]
|
D | anyInferenceAnonymousFunctions.types | 7 …callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a… 9 …callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a… 26 …callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a… 28 …callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a… 45 …callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a… 47 …callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: any[]) => any): a… 60 >paired.map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[] 62 >map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[] 71 >paired.map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[] 73 >map : <U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]
|
D | unionOfClassCalls.types | 53 >arr.map : (<U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) =>… 55 >map : (<U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]… 68 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 70 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 84 >arr.forEach : ((callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any… 86 >forEach : ((callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) =>… 98 >arr1.map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) =>… 100 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[] 112 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 114 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… [all …]
|
D | genericReduce.types | 13 >a.map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[] 15 >map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[] 25 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 27 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 38 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 40 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 79 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 81 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
|
D | restPropertyWithBindingPattern.types | 20 …callbackfn: (value: never, index: number, array: never[]) => void, thisArg?: any): void; map<U>(ca… 27 …callbackfn: (value: never, index: number, array: never[]) => void, thisArg?: any): void; map<U>(ca…
|
D | implementArrayInterface.js | 20 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 21 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 22 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; 23 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; 24 filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[]; 25 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, ini… 26 …reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, … 27 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T… 28 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) =…
|
D | bestChoiceType.types | 6 …/ /) || []).map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?:… 15 >map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]… 45 >y.map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U… 47 >map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]… 77 >y.map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U… 79 >map : (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]…
|
D | destructuringTuple.types | 28 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 33 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 47 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 52 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
|
D | mapOnTupleTypes01.types | 5 >[1, 2, 3, 4].map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?:… 11 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[] 28 >numTuple.map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any… 30 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[] 60 >numNum.map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) … 62 >map : <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[] 72 >strStr.map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) … 74 >map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[] 86 >numStr.map : <U>(callbackfn: (value: string | number, index: number, array: (string | number)[]) =… 88 >map : <U>(callbackfn: (value: string | number, index: number, array: (string | number)[]) => U, th… [all …]
|
D | implementArrayInterface.symbols | 93 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 95 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 18, 10)) 103 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 105 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 19, 9)) 113 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; 115 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 20, 12)) 123 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; 126 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 21, 11)) 136 filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[]; 138 >callbackfn : Symbol(callbackfn, Decl(implementArrayInterface.ts, 22, 11)) [all …]
|
D | mappedTypeWithAsClauseAndLateBoundProperty.types | 6 …callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: … 9 …callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: … 11 …callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
|
D | mappedTypeWithAsClauseAndLateBoundProperty2.types | 3 …callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: … 4 …callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: … 5 …callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
|
D | unionOfClassCalls.errors.txt | 2 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 36 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
|
D | mappedTypeWithAsClauseAndLateBoundProperty.errors.txt | 1 …callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: … 9 …callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: …
|
D | genericContextualTypingSpecialization.types | 7 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =… 9 …callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) =…
|
/third_party/typescript/lib/ |
D | lib.es5.d.ts | 1244 … forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void; 1250 map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[]; 1268 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) … 1269 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) … 1275 …reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[… 1281 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly … 1282 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly … 1288 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readon… 1435 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; 1441 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; [all …]
|
D | lib.es2020.bigint.d.ts | 236 …forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): … 282 …map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): Bi… 294 …reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigI… 306 …reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt… 318 …reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array:… 330 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: B… 508 …forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any):… 554 …map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): B… 566 …reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigU… 578 …reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUin… [all …]
|
/third_party/typescript/src/lib/ |
D | es5.d.ts | 1224 … forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void; 1230 map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[]; 1248 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) … 1249 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) … 1255 …reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[… 1261 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly … 1262 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly … 1268 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readon… 1415 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; 1421 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; [all …]
|
D | es2020.bigint.d.ts | 216 …forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): … 262 …map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): Bi… 274 …reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigI… 286 …reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt… 298 …reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array:… 310 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: B… 488 …forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any):… 534 …map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): B… 546 …reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigU… 558 …reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUin… [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | implementArrayInterface.ts | 19 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 20 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 21 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; 22 map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[]; 23 filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): T[]; 24 …reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, ini… 25 …reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, … 26 …reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T… 27 …reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) =…
|
/third_party/typescript/tests/cases/conformance/decorators/ |
D | 1.0lib-noErrors.ts | 817 …every(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): bool… 818 …some(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): boole… 819 … forEach(callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any): void; 820 map(callbackfn: (value: string, index: number, array: string[]) => any, thisArg?: any): any[]; 821 …filter(callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any): str… 822 …reduce(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: string[]) … 823 …reduceRight(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: strin… 1072 every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 1079 some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg?: any): boolean; 1086 forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void; [all …]
|
/third_party/node/deps/v8/src/builtins/ |
D | array-foreach.tq | 14 const callbackfn = Cast<Callable>(callback) otherwise unreachable; 19 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK, 32 const callbackfn = Cast<Callable>(callback) otherwise unreachable; 37 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK, 42 _receiver: JSReceiver, callbackfn: Callable, thisArg: JSAny, _array: JSAny, 61 // 6c. ii. Perform ? Call(callbackfn, T, <kValue, k, O>). 62 Call(context, callbackfn, thisArg, kValue, k, o); 71 o: JSReceiver, len: Number, callbackfn: Callable, thisArg: JSAny): JSAny 86 Call(context, callbackfn, thisArg, value, k, fastOW.Get()); 104 // 3. If IsCallable(callbackfn) is false, throw a TypeError exception. [all …]
|
D | array-every.tq | 18 const callbackfn = Cast<Callable>(callback) otherwise unreachable; 23 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK, 36 const callbackfn = Cast<Callable>(callback) otherwise unreachable; 50 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK, 55 _receiver: JSReceiver, callbackfn: Callable, thisArg: JSAny, _array: JSAny, 72 // 6c. ii. Perform ? Call(callbackfn, T, <kValue, k, O>). 73 const result: JSAny = Call(context, callbackfn, thisArg, kValue, k, o); 87 o: JSReceiver, len: Number, callbackfn: Callable, thisArg: JSAny): JSAny 102 Call(context, callbackfn, thisArg, value, k, fastOW.Get()); 123 // 3. If IsCallable(callbackfn) is false, throw a TypeError exception. [all …]
|
D | array-some.tq | 18 const callbackfn = Cast<Callable>(callback) otherwise unreachable; 23 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK, 36 const callbackfn = Cast<Callable>(callback) otherwise unreachable; 50 jsreceiver, callbackfn, thisArg, Undefined, jsreceiver, numberK, 55 _receiver: JSReceiver, callbackfn: Callable, thisArg: JSAny, _array: JSAny, 72 // 6c. ii. Perform ? Call(callbackfn, T, <kValue, k, O>). 73 const result: JSAny = Call(context, callbackfn, thisArg, kValue, k, o); 87 o: JSReceiver, len: Number, callbackfn: Callable, thisArg: JSAny): JSAny 102 Call(context, callbackfn, thisArg, value, k, fastOW.Get()); 123 // 3. If IsCallable(callbackfn) is false, throw a TypeError exception. [all …]
|