diff --git a/src/lib/es2015.iterable.d.ts b/src/lib/es2015.iterable.d.ts index 00a0ff820ca09..fc024ea5a5d73 100644 --- a/src/lib/es2015.iterable.d.ts +++ b/src/lib/es2015.iterable.d.ts @@ -245,13 +245,19 @@ interface Int8Array { interface Int8ArrayConstructor { new (elements: Iterable): Int8Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Int8Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } interface Uint8Array { @@ -273,13 +279,19 @@ interface Uint8Array { interface Uint8ArrayConstructor { new (elements: Iterable): Uint8Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Uint8Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } interface Uint8ClampedArray { @@ -303,13 +315,19 @@ interface Uint8ClampedArray { interface Uint8ClampedArrayConstructor { new (elements: Iterable): Uint8ClampedArray; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Uint8ClampedArray; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } interface Int16Array { @@ -333,13 +351,19 @@ interface Int16Array { interface Int16ArrayConstructor { new (elements: Iterable): Int16Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Int16Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } interface Uint16Array { @@ -361,13 +385,19 @@ interface Uint16Array { interface Uint16ArrayConstructor { new (elements: Iterable): Uint16Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Uint16Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } interface Int32Array { @@ -389,13 +419,19 @@ interface Int32Array { interface Int32ArrayConstructor { new (elements: Iterable): Int32Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Int32Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } interface Uint32Array { @@ -417,13 +453,19 @@ interface Uint32Array { interface Uint32ArrayConstructor { new (elements: Iterable): Uint32Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Uint32Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } interface Float32Array { @@ -445,13 +487,19 @@ interface Float32Array { interface Float32ArrayConstructor { new (elements: Iterable): Float32Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Float32Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } interface Float64Array { @@ -473,11 +521,17 @@ interface Float64Array { interface Float64ArrayConstructor { new (elements: Iterable): Float64Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): Float64Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } diff --git a/src/lib/es2020.bigint.d.ts b/src/lib/es2020.bigint.d.ts index c6ee094a332dc..be58e5c8b4a7f 100644 --- a/src/lib/es2020.bigint.d.ts +++ b/src/lib/es2020.bigint.d.ts @@ -373,6 +373,7 @@ interface BigInt64ArrayConstructor { readonly prototype: BigInt64Array; new (length?: number): BigInt64Array; new (array: Iterable): BigInt64Array; + new (array: ArrayLike): BigInt64Array; new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array; /** The size in bytes of each element in the array. */ @@ -384,14 +385,21 @@ interface BigInt64ArrayConstructor { */ of(...items: bigint[]): BigInt64Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): BigInt64Array; + from(arrayLike: ArrayLike): BigInt64Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike): BigInt64Array; - from(arrayLike: ArrayLike, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } declare var BigInt64Array: BigInt64ArrayConstructor; @@ -645,6 +653,7 @@ interface BigUint64ArrayConstructor { readonly prototype: BigUint64Array; new (length?: number): BigUint64Array; new (array: Iterable): BigUint64Array; + new (array: ArrayLike): BigUint64Array; new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array; /** The size in bytes of each element in the array. */ @@ -656,14 +665,21 @@ interface BigUint64ArrayConstructor { */ of(...items: bigint[]): BigUint64Array; + /** + * Creates an array from an array-like or iterable object. + * @param arrayLike An array-like or iterable object to convert to an array. + */ + from(arrayLike: Iterable): BigUint64Array; + from(arrayLike: ArrayLike): BigUint64Array; + /** * Creates an array from an array-like or iterable object. * @param arrayLike An array-like or iterable object to convert to an array. * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike): BigUint64Array; - from(arrayLike: ArrayLike, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array; + from(arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; + from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } declare var BigUint64Array: BigUint64ArrayConstructor; diff --git a/tests/baselines/reference/bigintWithLib.errors.txt b/tests/baselines/reference/bigintWithLib.errors.txt index 74057e3a2431a..4f7c5b071ef87 100644 --- a/tests/baselines/reference/bigintWithLib.errors.txt +++ b/tests/baselines/reference/bigintWithLib.errors.txt @@ -1,37 +1,41 @@ bigintWithLib.ts(4,1): error TS2350: Only a void function can be called with the 'new' keyword. -bigintWithLib.ts(19,33): error TS2769: No overload matches this call. - Overload 1 of 3, '(length?: number): BigInt64Array', gave the following error. - Argument of type 'number[]' is not assignable to parameter of type 'number'. - Overload 2 of 3, '(array: Iterable): BigInt64Array', gave the following error. - Argument of type 'number[]' is not assignable to parameter of type 'Iterable'. - The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. - Type 'IteratorResult' is not assignable to type 'IteratorResult'. - Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. - Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. - Type 'number' is not assignable to type 'bigint'. - Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array', gave the following error. +bigintWithLib.ts(20,33): error TS2769: No overload matches this call. + The last overload gave the following error. Argument of type 'number[]' is not assignable to parameter of type 'ArrayBufferLike'. Type 'number[]' is missing the following properties from type 'SharedArrayBuffer': byteLength, [Symbol.species], [Symbol.toStringTag] -bigintWithLib.ts(24,13): error TS2540: Cannot assign to 'length' because it is a read-only property. -bigintWithLib.ts(31,35): error TS2769: No overload matches this call. - Overload 1 of 3, '(length?: number): BigUint64Array', gave the following error. - Argument of type 'number[]' is not assignable to parameter of type 'number'. - Overload 2 of 3, '(array: Iterable): BigUint64Array', gave the following error. - Argument of type 'number[]' is not assignable to parameter of type 'Iterable'. +bigintWithLib.ts(21,34): error TS2769: No overload matches this call. + The last overload gave the following error. + Object literal may only specify known properties, and '0' does not exist in type 'ArrayBufferLike'. +bigintWithLib.ts(29,34): error TS2769: No overload matches this call. + Overload 1 of 4, '(arrayLike: Iterable): BigInt64Array', gave the following error. + Argument of type 'string[]' is not assignable to parameter of type 'Iterable'. The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. - Type 'IteratorResult' is not assignable to type 'IteratorResult'. - Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. - Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. - Type 'number' is not assignable to type 'bigint'. - Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array', gave the following error. + Type 'IteratorResult' is not assignable to type 'IteratorResult'. + Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. + Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. + Type 'string' is not assignable to type 'bigint'. +bigintWithLib.ts(32,13): error TS2540: Cannot assign to 'length' because it is a read-only property. +bigintWithLib.ts(40,35): error TS2769: No overload matches this call. + The last overload gave the following error. Argument of type 'number[]' is not assignable to parameter of type 'ArrayBufferLike'. Type 'number[]' is missing the following properties from type 'SharedArrayBuffer': byteLength, [Symbol.species], [Symbol.toStringTag] -bigintWithLib.ts(36,13): error TS2540: Cannot assign to 'length' because it is a read-only property. -bigintWithLib.ts(43,25): error TS2345: Argument of type 'number' is not assignable to parameter of type 'bigint'. -bigintWithLib.ts(46,26): error TS2345: Argument of type 'number' is not assignable to parameter of type 'bigint'. +bigintWithLib.ts(41,36): error TS2769: No overload matches this call. + The last overload gave the following error. + Object literal may only specify known properties, and '0' does not exist in type 'ArrayBufferLike'. +bigintWithLib.ts(49,36): error TS2769: No overload matches this call. + Overload 1 of 4, '(arrayLike: Iterable): BigUint64Array', gave the following error. + Argument of type 'string[]' is not assignable to parameter of type 'Iterable'. + The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. + Type 'IteratorResult' is not assignable to type 'IteratorResult'. + Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. + Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. + Type 'string' is not assignable to type 'bigint'. +bigintWithLib.ts(52,13): error TS2540: Cannot assign to 'length' because it is a read-only property. +bigintWithLib.ts(59,25): error TS2345: Argument of type 'number' is not assignable to parameter of type 'bigint'. +bigintWithLib.ts(62,26): error TS2345: Argument of type 'number' is not assignable to parameter of type 'bigint'. -==== bigintWithLib.ts (7 errors) ==== +==== bigintWithLib.ts (11 errors) ==== // Test BigInt functions let bigintVal: bigint = BigInt(123); bigintVal = BigInt("456"); @@ -52,24 +56,38 @@ bigintWithLib.ts(46,26): error TS2345: Argument of type 'number' is not assignab let bigIntArray: BigInt64Array = new BigInt64Array(); bigIntArray = new BigInt64Array(10); bigIntArray = new BigInt64Array([1n, 2n, 3n]); + bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigIntArray = new BigInt64Array([1, 2, 3]); // should error ~~~~~~~~~ !!! error TS2769: No overload matches this call. -!!! error TS2769: Overload 1 of 3, '(length?: number): BigInt64Array', gave the following error. -!!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'number'. -!!! error TS2769: Overload 2 of 3, '(array: Iterable): BigInt64Array', gave the following error. -!!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'Iterable'. -!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. -!!! error TS2769: Type 'IteratorResult' is not assignable to type 'IteratorResult'. -!!! error TS2769: Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. -!!! error TS2769: Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. -!!! error TS2769: Type 'number' is not assignable to type 'bigint'. -!!! error TS2769: Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array', gave the following error. +!!! error TS2769: The last overload gave the following error. !!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'ArrayBufferLike'. !!! error TS2769: Type 'number[]' is missing the following properties from type 'SharedArrayBuffer': byteLength, [Symbol.species], [Symbol.toStringTag] +!!! related TS2771 lib.es2020.bigint.d.ts:--:--: The last overload is declared here. + bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error + ~ +!!! error TS2769: No overload matches this call. +!!! error TS2769: The last overload gave the following error. +!!! error TS2769: Object literal may only specify known properties, and '0' does not exist in type 'ArrayBufferLike'. +!!! related TS2771 lib.es2020.bigint.d.ts:--:--: The last overload is declared here. bigIntArray = new BigInt64Array(new ArrayBuffer(80)); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); + bigIntArray = BigInt64Array.from([1n, 2n, 3n]); + bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); + bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); + bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); + bigIntArray = BigInt64Array.from(['1', '2', '3']); // should error + ~~~~~~~~~~~~~~~ +!!! error TS2769: No overload matches this call. +!!! error TS2769: Overload 1 of 4, '(arrayLike: Iterable): BigInt64Array', gave the following error. +!!! error TS2769: Argument of type 'string[]' is not assignable to parameter of type 'Iterable'. +!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. +!!! error TS2769: Type 'IteratorResult' is not assignable to type 'IteratorResult'. +!!! error TS2769: Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. +!!! error TS2769: Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. +!!! error TS2769: Type 'string' is not assignable to type 'bigint'. + bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); let len: number = bigIntArray.length; bigIntArray.length = 10; // should error ~~~~~~ @@ -80,24 +98,38 @@ bigintWithLib.ts(46,26): error TS2345: Argument of type 'number' is not assignab let bigUintArray: BigUint64Array = new BigUint64Array(); bigUintArray = new BigUint64Array(10); bigUintArray = new BigUint64Array([1n, 2n, 3n]); + bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigUintArray = new BigUint64Array([1, 2, 3]); // should error ~~~~~~~~~ !!! error TS2769: No overload matches this call. -!!! error TS2769: Overload 1 of 3, '(length?: number): BigUint64Array', gave the following error. -!!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'number'. -!!! error TS2769: Overload 2 of 3, '(array: Iterable): BigUint64Array', gave the following error. -!!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'Iterable'. -!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. -!!! error TS2769: Type 'IteratorResult' is not assignable to type 'IteratorResult'. -!!! error TS2769: Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. -!!! error TS2769: Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. -!!! error TS2769: Type 'number' is not assignable to type 'bigint'. -!!! error TS2769: Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array', gave the following error. +!!! error TS2769: The last overload gave the following error. !!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'ArrayBufferLike'. !!! error TS2769: Type 'number[]' is missing the following properties from type 'SharedArrayBuffer': byteLength, [Symbol.species], [Symbol.toStringTag] +!!! related TS2771 lib.es2020.bigint.d.ts:--:--: The last overload is declared here. + bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error + ~ +!!! error TS2769: No overload matches this call. +!!! error TS2769: The last overload gave the following error. +!!! error TS2769: Object literal may only specify known properties, and '0' does not exist in type 'ArrayBufferLike'. +!!! related TS2771 lib.es2020.bigint.d.ts:--:--: The last overload is declared here. bigUintArray = new BigUint64Array(new ArrayBuffer(80)); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); + bigUintArray = BigUint64Array.from([1n, 2n, 3n]); + bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); + bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); + bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); + bigUintArray = BigUint64Array.from(['1', '2', '3']); // should error + ~~~~~~~~~~~~~~~ +!!! error TS2769: No overload matches this call. +!!! error TS2769: Overload 1 of 4, '(arrayLike: Iterable): BigUint64Array', gave the following error. +!!! error TS2769: Argument of type 'string[]' is not assignable to parameter of type 'Iterable'. +!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. +!!! error TS2769: Type 'IteratorResult' is not assignable to type 'IteratorResult'. +!!! error TS2769: Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. +!!! error TS2769: Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. +!!! error TS2769: Type 'string' is not assignable to type 'bigint'. + bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); len = bigIntArray.length; bigIntArray.length = 10; // should error ~~~~~~ diff --git a/tests/baselines/reference/bigintWithLib.js b/tests/baselines/reference/bigintWithLib.js index f5d46d403786f..5de75d3eb80d5 100644 --- a/tests/baselines/reference/bigintWithLib.js +++ b/tests/baselines/reference/bigintWithLib.js @@ -19,10 +19,18 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU let bigIntArray: BigInt64Array = new BigInt64Array(); bigIntArray = new BigInt64Array(10); bigIntArray = new BigInt64Array([1n, 2n, 3n]); +bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigIntArray = new BigInt64Array([1, 2, 3]); // should error +bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error bigIntArray = new BigInt64Array(new ArrayBuffer(80)); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +bigIntArray = BigInt64Array.from(['1', '2', '3']); // should error +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); let len: number = bigIntArray.length; bigIntArray.length = 10; // should error let arrayBufferLike: ArrayBufferView = bigIntArray; @@ -31,10 +39,18 @@ let arrayBufferLike: ArrayBufferView = bigIntArray; let bigUintArray: BigUint64Array = new BigUint64Array(); bigUintArray = new BigUint64Array(10); bigUintArray = new BigUint64Array([1n, 2n, 3n]); +bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigUintArray = new BigUint64Array([1, 2, 3]); // should error +bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error bigUintArray = new BigUint64Array(new ArrayBuffer(80)); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +bigUintArray = BigUint64Array.from(['1', '2', '3']); // should error +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); len = bigIntArray.length; bigIntArray.length = 10; // should error arrayBufferLike = bigIntArray; @@ -81,10 +97,18 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU let bigIntArray = new BigInt64Array(); bigIntArray = new BigInt64Array(10); bigIntArray = new BigInt64Array([1n, 2n, 3n]); +bigIntArray = new BigInt64Array({ 0: 1n, 1: 2n, 2: 3n, length: 3 }); bigIntArray = new BigInt64Array([1, 2, 3]); // should error +bigIntArray = new BigInt64Array({ 0: 1, 1: 2, 2: 3, length: 3 }); // should error bigIntArray = new BigInt64Array(new ArrayBuffer(80)); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +bigIntArray = BigInt64Array.from({ 0: 1n, 1: 2n, 2: 3n, length: 3 }); +bigIntArray = BigInt64Array.from({ 0: 1n, 1: 2n, 2: 3n, length: 3 }, n => n * 10n); +bigIntArray = BigInt64Array.from(['1', '2', '3']); // should error +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); let len = bigIntArray.length; bigIntArray.length = 10; // should error let arrayBufferLike = bigIntArray; @@ -92,10 +116,18 @@ let arrayBufferLike = bigIntArray; let bigUintArray = new BigUint64Array(); bigUintArray = new BigUint64Array(10); bigUintArray = new BigUint64Array([1n, 2n, 3n]); +bigUintArray = new BigUint64Array({ 0: 1n, 1: 2n, 2: 3n, length: 3 }); bigUintArray = new BigUint64Array([1, 2, 3]); // should error +bigUintArray = new BigUint64Array({ 0: 1, 1: 2, 2: 3, length: 3 }); // should error bigUintArray = new BigUint64Array(new ArrayBuffer(80)); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +bigUintArray = BigUint64Array.from({ 0: 1n, 1: 2n, 2: 3n, length: 3 }); +bigUintArray = BigUint64Array.from({ 0: 1n, 1: 2n, 2: 3n, length: 3 }, n => n * 10n); +bigUintArray = BigUint64Array.from(['1', '2', '3']); // should error +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); len = bigIntArray.length; bigIntArray.length = 10; // should error arrayBufferLike = bigIntArray; diff --git a/tests/baselines/reference/bigintWithLib.symbols b/tests/baselines/reference/bigintWithLib.symbols index 542e2998eb0c3..ddedcd412d75f 100644 --- a/tests/baselines/reference/bigintWithLib.symbols +++ b/tests/baselines/reference/bigintWithLib.symbols @@ -84,10 +84,26 @@ bigIntArray = new BigInt64Array([1n, 2n, 3n]); >bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) >BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) +>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>0 : Symbol(0, Decl(bigintWithLib.ts, 18, 33)) +>1 : Symbol(1, Decl(bigintWithLib.ts, 18, 39)) +>2 : Symbol(2, Decl(bigintWithLib.ts, 18, 46)) +>length : Symbol(length, Decl(bigintWithLib.ts, 18, 53)) + bigIntArray = new BigInt64Array([1, 2, 3]); // should error >bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) >BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) +>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>0 : Symbol(0, Decl(bigintWithLib.ts, 20, 33)) +>1 : Symbol(1, Decl(bigintWithLib.ts, 20, 38)) +>2 : Symbol(2, Decl(bigintWithLib.ts, 20, 44)) +>length : Symbol(length, Decl(bigintWithLib.ts, 20, 50)) + bigIntArray = new BigInt64Array(new ArrayBuffer(80)); >bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) >BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) @@ -103,8 +119,59 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); >BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) +>BigInt64Array.from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) + +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) +>BigInt64Array.from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>n : Symbol(n, Decl(bigintWithLib.ts, 25, 46)) +>n : Symbol(n, Decl(bigintWithLib.ts, 25, 46)) + +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) +>BigInt64Array.from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>0 : Symbol(0, Decl(bigintWithLib.ts, 26, 34)) +>1 : Symbol(1, Decl(bigintWithLib.ts, 26, 40)) +>2 : Symbol(2, Decl(bigintWithLib.ts, 26, 47)) +>length : Symbol(length, Decl(bigintWithLib.ts, 26, 54)) + +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) +>BigInt64Array.from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>0 : Symbol(0, Decl(bigintWithLib.ts, 27, 34)) +>1 : Symbol(1, Decl(bigintWithLib.ts, 27, 40)) +>2 : Symbol(2, Decl(bigintWithLib.ts, 27, 47)) +>length : Symbol(length, Decl(bigintWithLib.ts, 27, 54)) +>n : Symbol(n, Decl(bigintWithLib.ts, 27, 66)) +>n : Symbol(n, Decl(bigintWithLib.ts, 27, 66)) + +bigIntArray = BigInt64Array.from(['1', '2', '3']); // should error +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) +>BigInt64Array.from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) + +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) +>BigInt64Array.from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigInt64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>s : Symbol(s, Decl(bigintWithLib.ts, 29, 49)) +>BigInt : Symbol(BigInt, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>s : Symbol(s, Decl(bigintWithLib.ts, 29, 49)) + let len: number = bigIntArray.length; ->len : Symbol(len, Decl(bigintWithLib.ts, 22, 3)) +>len : Symbol(len, Decl(bigintWithLib.ts, 30, 3)) >bigIntArray.length : Symbol(BigInt64Array.length, Decl(lib.es2020.bigint.d.ts, --, --)) >bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) >length : Symbol(BigInt64Array.length, Decl(lib.es2020.bigint.d.ts, --, --)) @@ -115,45 +182,112 @@ bigIntArray.length = 10; // should error >length : Symbol(BigInt64Array.length, Decl(lib.es2020.bigint.d.ts, --, --)) let arrayBufferLike: ArrayBufferView = bigIntArray; ->arrayBufferLike : Symbol(arrayBufferLike, Decl(bigintWithLib.ts, 24, 3)) +>arrayBufferLike : Symbol(arrayBufferLike, Decl(bigintWithLib.ts, 32, 3)) >ArrayBufferView : Symbol(ArrayBufferView, Decl(lib.es5.d.ts, --, --)) >bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) // Test BigUint64Array let bigUintArray: BigUint64Array = new BigUint64Array(); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 27, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) >BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) >BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) bigUintArray = new BigUint64Array(10); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 27, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) >BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) bigUintArray = new BigUint64Array([1n, 2n, 3n]); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 27, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) +>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) + +bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) >BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>0 : Symbol(0, Decl(bigintWithLib.ts, 38, 35)) +>1 : Symbol(1, Decl(bigintWithLib.ts, 38, 41)) +>2 : Symbol(2, Decl(bigintWithLib.ts, 38, 48)) +>length : Symbol(length, Decl(bigintWithLib.ts, 38, 55)) bigUintArray = new BigUint64Array([1, 2, 3]); // should error ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 27, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) +>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) + +bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) >BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>0 : Symbol(0, Decl(bigintWithLib.ts, 40, 35)) +>1 : Symbol(1, Decl(bigintWithLib.ts, 40, 40)) +>2 : Symbol(2, Decl(bigintWithLib.ts, 40, 46)) +>length : Symbol(length, Decl(bigintWithLib.ts, 40, 52)) bigUintArray = new BigUint64Array(new ArrayBuffer(80)); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 27, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) >BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 27, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) >BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 27, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) >BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) +>BigUint64Array.from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) + +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) +>BigUint64Array.from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>n : Symbol(n, Decl(bigintWithLib.ts, 45, 48)) +>n : Symbol(n, Decl(bigintWithLib.ts, 45, 48)) + +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) +>BigUint64Array.from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>0 : Symbol(0, Decl(bigintWithLib.ts, 46, 36)) +>1 : Symbol(1, Decl(bigintWithLib.ts, 46, 42)) +>2 : Symbol(2, Decl(bigintWithLib.ts, 46, 49)) +>length : Symbol(length, Decl(bigintWithLib.ts, 46, 56)) + +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) +>BigUint64Array.from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>0 : Symbol(0, Decl(bigintWithLib.ts, 47, 36)) +>1 : Symbol(1, Decl(bigintWithLib.ts, 47, 42)) +>2 : Symbol(2, Decl(bigintWithLib.ts, 47, 49)) +>length : Symbol(length, Decl(bigintWithLib.ts, 47, 56)) +>n : Symbol(n, Decl(bigintWithLib.ts, 47, 68)) +>n : Symbol(n, Decl(bigintWithLib.ts, 47, 68)) + +bigUintArray = BigUint64Array.from(['1', '2', '3']); // should error +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) +>BigUint64Array.from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) + +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithLib.ts, 35, 3)) +>BigUint64Array.from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>from : Symbol(BigUint64ArrayConstructor.from, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>s : Symbol(s, Decl(bigintWithLib.ts, 49, 51)) +>BigInt : Symbol(BigInt, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) +>s : Symbol(s, Decl(bigintWithLib.ts, 49, 51)) + len = bigIntArray.length; ->len : Symbol(len, Decl(bigintWithLib.ts, 22, 3)) +>len : Symbol(len, Decl(bigintWithLib.ts, 30, 3)) >bigIntArray.length : Symbol(BigInt64Array.length, Decl(lib.es2020.bigint.d.ts, --, --)) >bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) >length : Symbol(BigInt64Array.length, Decl(lib.es2020.bigint.d.ts, --, --)) @@ -164,81 +298,81 @@ bigIntArray.length = 10; // should error >length : Symbol(BigInt64Array.length, Decl(lib.es2020.bigint.d.ts, --, --)) arrayBufferLike = bigIntArray; ->arrayBufferLike : Symbol(arrayBufferLike, Decl(bigintWithLib.ts, 24, 3)) +>arrayBufferLike : Symbol(arrayBufferLike, Decl(bigintWithLib.ts, 32, 3)) >bigIntArray : Symbol(bigIntArray, Decl(bigintWithLib.ts, 15, 3)) // Test added DataView methods const dataView = new DataView(new ArrayBuffer(80)); ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >DataView : Symbol(DataView, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) dataView.setBigInt64(1, -1n); >dataView.setBigInt64 : Symbol(DataView.setBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >setBigInt64 : Symbol(DataView.setBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) dataView.setBigInt64(1, -1n, true); >dataView.setBigInt64 : Symbol(DataView.setBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >setBigInt64 : Symbol(DataView.setBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) dataView.setBigInt64(1, -1); // should error >dataView.setBigInt64 : Symbol(DataView.setBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >setBigInt64 : Symbol(DataView.setBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) dataView.setBigUint64(2, 123n); >dataView.setBigUint64 : Symbol(DataView.setBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >setBigUint64 : Symbol(DataView.setBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) dataView.setBigUint64(2, 123n, true); >dataView.setBigUint64 : Symbol(DataView.setBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >setBigUint64 : Symbol(DataView.setBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) dataView.setBigUint64(2, 123); // should error >dataView.setBigUint64 : Symbol(DataView.setBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >setBigUint64 : Symbol(DataView.setBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) bigintVal = dataView.getBigInt64(1); >bigintVal : Symbol(bigintVal, Decl(bigintWithLib.ts, 1, 3)) >dataView.getBigInt64 : Symbol(DataView.getBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >getBigInt64 : Symbol(DataView.getBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) bigintVal = dataView.getBigInt64(1, true); >bigintVal : Symbol(bigintVal, Decl(bigintWithLib.ts, 1, 3)) >dataView.getBigInt64 : Symbol(DataView.getBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >getBigInt64 : Symbol(DataView.getBigInt64, Decl(lib.es2020.bigint.d.ts, --, --)) bigintVal = dataView.getBigUint64(2); >bigintVal : Symbol(bigintVal, Decl(bigintWithLib.ts, 1, 3)) >dataView.getBigUint64 : Symbol(DataView.getBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >getBigUint64 : Symbol(DataView.getBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) bigintVal = dataView.getBigUint64(2, true); >bigintVal : Symbol(bigintVal, Decl(bigintWithLib.ts, 1, 3)) >dataView.getBigUint64 : Symbol(DataView.getBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) ->dataView : Symbol(dataView, Decl(bigintWithLib.ts, 39, 5)) +>dataView : Symbol(dataView, Decl(bigintWithLib.ts, 55, 5)) >getBigUint64 : Symbol(DataView.getBigUint64, Decl(lib.es2020.bigint.d.ts, --, --)) // Test emitted declarations files const w = 12n; // should emit as const w = 12n ->w : Symbol(w, Decl(bigintWithLib.ts, 52, 5)) +>w : Symbol(w, Decl(bigintWithLib.ts, 68, 5)) const x = -12n; // should emit as const x = -12n ->x : Symbol(x, Decl(bigintWithLib.ts, 53, 5)) +>x : Symbol(x, Decl(bigintWithLib.ts, 69, 5)) const y: 12n = 12n; // should emit type 12n ->y : Symbol(y, Decl(bigintWithLib.ts, 54, 5)) +>y : Symbol(y, Decl(bigintWithLib.ts, 70, 5)) let z = 12n; // should emit type bigint in declaration file ->z : Symbol(z, Decl(bigintWithLib.ts, 55, 3)) +>z : Symbol(z, Decl(bigintWithLib.ts, 71, 3)) // Test Intl methods with new parameter type new Intl.NumberFormat("fr").format(3000n); diff --git a/tests/baselines/reference/bigintWithLib.types b/tests/baselines/reference/bigintWithLib.types index 96569a8ac95e1..c106193c74b24 100644 --- a/tests/baselines/reference/bigintWithLib.types +++ b/tests/baselines/reference/bigintWithLib.types @@ -227,6 +227,34 @@ bigIntArray = new BigInt64Array([1n, 2n, 3n]); >3n : 3n > : ^^ +bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}) : BigInt64Array +> : ^^^^^^^^^^^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}) : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array : BigInt64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + bigIntArray = new BigInt64Array([1, 2, 3]); // should error >bigIntArray = new BigInt64Array([1, 2, 3]) : BigInt64Array > : ^^^^^^^^^^^^^ @@ -245,6 +273,34 @@ bigIntArray = new BigInt64Array([1, 2, 3]); // should error >3 : 3 > : ^ +bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error +>bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}) : BigInt64Array +> : ^^^^^^^^^^^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}) : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array : BigInt64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>{0: 1, 1: 2, 2: 3, length: 3} : { 0: number; 1: number; 2: number; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>1 : number +> : ^^^^^^ +>2 : 2 +> : ^ +>2 : number +> : ^^^^^^ +>3 : 3 +> : ^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + bigIntArray = new BigInt64Array(new ArrayBuffer(80)); >bigIntArray = new BigInt64Array(new ArrayBuffer(80)) : BigInt64Array > : ^^^^^^^^^^^^^ @@ -299,6 +355,188 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); >3 : 3 > : ^ +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +>bigIntArray = BigInt64Array.from([1n, 2n, 3n]) : BigInt64Array +> : ^^^^^^^^^^^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from([1n, 2n, 3n]) : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigInt64Array : BigInt64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>[1n, 2n, 3n] : bigint[] +> : ^^^^^^^^ +>1n : 1n +> : ^^ +>2n : 2n +> : ^^ +>3n : 3n +> : ^^ + +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +>bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n) : BigInt64Array +> : ^^^^^^^^^^^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from([1n, 2n, 3n], n => n * 10n) : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigInt64Array : BigInt64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>[1n, 2n, 3n] : bigint[] +> : ^^^^^^^^ +>1n : 1n +> : ^^ +>2n : 2n +> : ^^ +>3n : 3n +> : ^^ +>n => n * 10n : (n: bigint) => bigint +> : ^ ^^^^^^^^^^^^^^^^^^^ +>n : bigint +> : ^^^^^^ +>n * 10n : bigint +> : ^^^^^^ +>n : bigint +> : ^^^^^^ +>10n : 10n +> : ^^^ + +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}) : BigInt64Array +> : ^^^^^^^^^^^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}) : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigInt64Array : BigInt64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +>bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n) : BigInt64Array +> : ^^^^^^^^^^^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n) : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigInt64Array : BigInt64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ +>n => n * 10n : (n: bigint) => bigint +> : ^ ^^^^^^^^^^^^^^^^^^^ +>n : bigint +> : ^^^^^^ +>n * 10n : bigint +> : ^^^^^^ +>n : bigint +> : ^^^^^^ +>10n : 10n +> : ^^^ + +bigIntArray = BigInt64Array.from(['1', '2', '3']); // should error +>bigIntArray = BigInt64Array.from(['1', '2', '3']) : BigInt64Array +> : ^^^^^^^^^^^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from(['1', '2', '3']) : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigInt64Array : BigInt64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>['1', '2', '3'] : string[] +> : ^^^^^^^^ +>'1' : "1" +> : ^^^ +>'2' : "2" +> : ^^^ +>'3' : "3" +> : ^^^ + +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); +>bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)) : BigInt64Array +> : ^^^^^^^^^^^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from(['1', '2', '3'], s => BigInt(s)) : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigInt64Array : BigInt64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigInt64Array; (arrayLike: ArrayLike): BigInt64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>['1', '2', '3'] : string[] +> : ^^^^^^^^ +>'1' : "1" +> : ^^^ +>'2' : "2" +> : ^^^ +>'3' : "3" +> : ^^^ +>s => BigInt(s) : (s: string) => bigint +> : ^ ^^^^^^^^^^^^^^^^^^^ +>s : string +> : ^^^^^^ +>BigInt(s) : bigint +> : ^^^^^^ +>BigInt : BigIntConstructor +> : ^^^^^^^^^^^^^^^^^ +>s : string +> : ^^^^^^ + let len: number = bigIntArray.length; >len : number > : ^^^^^^ @@ -366,6 +604,34 @@ bigUintArray = new BigUint64Array([1n, 2n, 3n]); >3n : 3n > : ^^ +bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array : BigUint64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + bigUintArray = new BigUint64Array([1, 2, 3]); // should error >bigUintArray = new BigUint64Array([1, 2, 3]) : BigUint64Array > : ^^^^^^^^^^^^^^ @@ -384,6 +650,34 @@ bigUintArray = new BigUint64Array([1, 2, 3]); // should error >3 : 3 > : ^ +bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error +>bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array : BigUint64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>{0: 1, 1: 2, 2: 3, length: 3} : { 0: number; 1: number; 2: number; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>1 : number +> : ^^^^^^ +>2 : 2 +> : ^ +>2 : number +> : ^^^^^^ +>3 : 3 +> : ^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + bigUintArray = new BigUint64Array(new ArrayBuffer(80)); >bigUintArray = new BigUint64Array(new ArrayBuffer(80)) : BigUint64Array > : ^^^^^^^^^^^^^^ @@ -438,6 +732,188 @@ bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); >3 : 3 > : ^ +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +>bigUintArray = BigUint64Array.from([1n, 2n, 3n]) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from([1n, 2n, 3n]) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigUint64Array : BigUint64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>[1n, 2n, 3n] : bigint[] +> : ^^^^^^^^ +>1n : 1n +> : ^^ +>2n : 2n +> : ^^ +>3n : 3n +> : ^^ + +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +>bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from([1n, 2n, 3n], n => n * 10n) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigUint64Array : BigUint64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>[1n, 2n, 3n] : bigint[] +> : ^^^^^^^^ +>1n : 1n +> : ^^ +>2n : 2n +> : ^^ +>3n : 3n +> : ^^ +>n => n * 10n : (n: bigint) => bigint +> : ^ ^^^^^^^^^^^^^^^^^^^ +>n : bigint +> : ^^^^^^ +>n * 10n : bigint +> : ^^^^^^ +>n : bigint +> : ^^^^^^ +>10n : 10n +> : ^^^ + +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigUint64Array : BigUint64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +>bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigUint64Array : BigUint64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ +>n => n * 10n : (n: bigint) => bigint +> : ^ ^^^^^^^^^^^^^^^^^^^ +>n : bigint +> : ^^^^^^ +>n * 10n : bigint +> : ^^^^^^ +>n : bigint +> : ^^^^^^ +>10n : 10n +> : ^^^ + +bigUintArray = BigUint64Array.from(['1', '2', '3']); // should error +>bigUintArray = BigUint64Array.from(['1', '2', '3']) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from(['1', '2', '3']) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigUint64Array : BigUint64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>['1', '2', '3'] : string[] +> : ^^^^^^^^ +>'1' : "1" +> : ^^^ +>'2' : "2" +> : ^^^ +>'3' : "3" +> : ^^^ + +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); +>bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from(['1', '2', '3'], s => BigInt(s)) : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>BigUint64Array : BigUint64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: Iterable): BigUint64Array; (arrayLike: ArrayLike): BigUint64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>['1', '2', '3'] : string[] +> : ^^^^^^^^ +>'1' : "1" +> : ^^^ +>'2' : "2" +> : ^^^ +>'3' : "3" +> : ^^^ +>s => BigInt(s) : (s: string) => bigint +> : ^ ^^^^^^^^^^^^^^^^^^^ +>s : string +> : ^^^^^^ +>BigInt(s) : bigint +> : ^^^^^^ +>BigInt : BigIntConstructor +> : ^^^^^^^^^^^^^^^^^ +>s : string +> : ^^^^^^ + len = bigIntArray.length; >len = bigIntArray.length : number > : ^^^^^^ diff --git a/tests/baselines/reference/bigintWithoutLib.errors.txt b/tests/baselines/reference/bigintWithoutLib.errors.txt index ee7353bbd290a..6dd45ef62f77b 100644 --- a/tests/baselines/reference/bigintWithoutLib.errors.txt +++ b/tests/baselines/reference/bigintWithoutLib.errors.txt @@ -18,40 +18,94 @@ bigintWithoutLib.ts(20,34): error TS2737: BigInt literals are not available when bigintWithoutLib.ts(20,38): error TS2737: BigInt literals are not available when targeting lower than ES2020. bigintWithoutLib.ts(20,42): error TS2737: BigInt literals are not available when targeting lower than ES2020. bigintWithoutLib.ts(21,19): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(21,37): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(21,44): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(21,51): error TS2737: BigInt literals are not available when targeting lower than ES2020. bigintWithoutLib.ts(22,19): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. bigintWithoutLib.ts(23,19): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. bigintWithoutLib.ts(24,19): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(30,19): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(30,40): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(31,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(32,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(32,36): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(25,19): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(26,19): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(27,15): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(27,35): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(27,39): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(27,43): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(28,15): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(28,35): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(28,39): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(28,43): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(28,57): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(29,15): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(29,38): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(29,45): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(29,52): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(30,15): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(30,38): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(30,45): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(30,52): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(30,77): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(31,1): error TS2448: Block-scoped variable 'bigUintArray' used before its declaration. +bigintWithoutLib.ts(31,16): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(31,40): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(31,47): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(31,54): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(32,1): error TS2448: Block-scoped variable 'bigUintArray' used before its declaration. +bigintWithoutLib.ts(32,16): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. bigintWithoutLib.ts(32,40): error TS2737: BigInt literals are not available when targeting lower than ES2020. -bigintWithoutLib.ts(32,44): error TS2737: BigInt literals are not available when targeting lower than ES2020. -bigintWithoutLib.ts(33,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(34,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(35,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(36,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(43,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(43,26): error TS2737: BigInt literals are not available when targeting lower than ES2020. -bigintWithoutLib.ts(44,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(44,26): error TS2737: BigInt literals are not available when targeting lower than ES2020. -bigintWithoutLib.ts(45,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(46,10): error TS2550: Property 'setBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(46,26): error TS2737: BigInt literals are not available when targeting lower than ES2020. -bigintWithoutLib.ts(47,10): error TS2550: Property 'setBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(47,26): error TS2737: BigInt literals are not available when targeting lower than ES2020. -bigintWithoutLib.ts(48,10): error TS2550: Property 'setBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(49,22): error TS2550: Property 'getBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(50,22): error TS2550: Property 'getBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(51,22): error TS2550: Property 'getBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(52,22): error TS2550: Property 'getBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. -bigintWithoutLib.ts(55,36): error TS2345: Argument of type 'bigint' is not assignable to parameter of type 'number'. -bigintWithoutLib.ts(55,36): error TS2737: BigInt literals are not available when targeting lower than ES2020. -bigintWithoutLib.ts(56,36): error TS2345: Argument of type 'bigint' is not assignable to parameter of type 'number'. +bigintWithoutLib.ts(32,47): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(32,54): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(32,79): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(33,15): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(34,15): error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(34,56): error TS2583: Cannot find name 'BigInt'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(40,19): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(40,40): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(41,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(42,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(42,36): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(42,40): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(42,44): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(43,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(43,39): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(43,46): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(43,53): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(44,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(45,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(46,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(47,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(48,20): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(49,16): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(49,37): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(49,41): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(49,45): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(50,16): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(50,37): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(50,41): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(50,45): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(50,59): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(51,16): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(52,16): error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(52,58): error TS2583: Cannot find name 'BigInt'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(59,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(59,26): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(60,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(60,26): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(61,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(62,10): error TS2550: Property 'setBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(62,26): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(63,10): error TS2550: Property 'setBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(63,26): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(64,10): error TS2550: Property 'setBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(65,22): error TS2550: Property 'getBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(66,22): error TS2550: Property 'getBigInt64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(67,22): error TS2550: Property 'getBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(68,22): error TS2550: Property 'getBigUint64' does not exist on type 'DataView'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. +bigintWithoutLib.ts(71,36): error TS2345: Argument of type 'bigint' is not assignable to parameter of type 'number'. +bigintWithoutLib.ts(71,36): error TS2737: BigInt literals are not available when targeting lower than ES2020. +bigintWithoutLib.ts(72,36): error TS2345: Argument of type 'bigint' is not assignable to parameter of type 'number'. -==== bigintWithoutLib.ts (51 errors) ==== +==== bigintWithoutLib.ts (105 errors) ==== // Every line should error because these builtins are not declared // Test BigInt functions @@ -109,9 +163,21 @@ bigintWithoutLib.ts(56,36): error TS2345: Argument of type 'bigint' is not assig ~~ !!! error TS2737: BigInt literals are not available when targeting lower than ES2020. ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); + ~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ !!! error TS2737: BigInt literals are not available when targeting lower than ES2020. bigIntArray = new BigInt64Array([1, 2, 3]); ~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); + ~~~~~~~~~~~~~ !!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. bigIntArray = new BigInt64Array(new ArrayBuffer(80)); ~~~~~~~~~~~~~ @@ -122,6 +188,80 @@ bigintWithoutLib.ts(56,36): error TS2345: Argument of type 'bigint' is not assig bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); ~~~~~~~~~~~~~ !!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + bigIntArray = BigInt64Array.from([1n, 2n, 3n]); + ~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); + ~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); + ~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); + ~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); + ~~~~~~~~~~~~ +!!! error TS2448: Block-scoped variable 'bigUintArray' used before its declaration. +!!! related TS2728 bigintWithoutLib.ts:40:5: 'bigUintArray' is declared here. + ~~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); + ~~~~~~~~~~~~ +!!! error TS2448: Block-scoped variable 'bigUintArray' used before its declaration. +!!! related TS2728 bigintWithoutLib.ts:40:5: 'bigUintArray' is declared here. + ~~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigIntArray = BigInt64Array.from(['1', '2', '3']); + ~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); + ~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~~~~~ +!!! error TS2583: Cannot find name 'BigInt'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. let len: number = bigIntArray.length; bigIntArray.length = 10; let arrayBufferLike: ArrayBufferView = bigIntArray; @@ -143,9 +283,21 @@ bigintWithoutLib.ts(56,36): error TS2345: Argument of type 'bigint' is not assig ~~ !!! error TS2737: BigInt literals are not available when targeting lower than ES2020. ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); + ~~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ !!! error TS2737: BigInt literals are not available when targeting lower than ES2020. bigUintArray = new BigUint64Array([1, 2, 3]); ~~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); + ~~~~~~~~~~~~~~ !!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. bigUintArray = new BigUint64Array(new ArrayBuffer(80)); ~~~~~~~~~~~~~~ @@ -156,6 +308,34 @@ bigintWithoutLib.ts(56,36): error TS2345: Argument of type 'bigint' is not assig bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); ~~~~~~~~~~~~~~ !!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + bigUintArray = BigUint64Array.from([1n, 2n, 3n]); + ~~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); + ~~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + ~~~ +!!! error TS2737: BigInt literals are not available when targeting lower than ES2020. + bigUintArray = BigUint64Array.from(['1', '2', '3']); + ~~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); + ~~~~~~~~~~~~~~ +!!! error TS2583: Cannot find name 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. + ~~~~~~ +!!! error TS2583: Cannot find name 'BigInt'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later. len = bigIntArray.length; bigIntArray.length = 10; arrayBufferLike = bigIntArray; diff --git a/tests/baselines/reference/bigintWithoutLib.js b/tests/baselines/reference/bigintWithoutLib.js index de6a8f3d2e38d..95fd38360abfb 100644 --- a/tests/baselines/reference/bigintWithoutLib.js +++ b/tests/baselines/reference/bigintWithoutLib.js @@ -21,10 +21,20 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU let bigIntArray: BigInt64Array = new BigInt64Array(); bigIntArray = new BigInt64Array(10); bigIntArray = new BigInt64Array([1n, 2n, 3n]); +bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigIntArray = new BigInt64Array([1, 2, 3]); +bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); bigIntArray = new BigInt64Array(new ArrayBuffer(80)); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +bigIntArray = BigInt64Array.from(['1', '2', '3']); +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); let len: number = bigIntArray.length; bigIntArray.length = 10; let arrayBufferLike: ArrayBufferView = bigIntArray; @@ -33,10 +43,16 @@ let arrayBufferLike: ArrayBufferView = bigIntArray; let bigUintArray: BigUint64Array = new BigUint64Array(); bigUintArray = new BigUint64Array(10); bigUintArray = new BigUint64Array([1n, 2n, 3n]); +bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigUintArray = new BigUint64Array([1, 2, 3]); +bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); bigUintArray = new BigUint64Array(new ArrayBuffer(80)); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +bigUintArray = BigUint64Array.from(['1', '2', '3']); +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); len = bigIntArray.length; bigIntArray.length = 10; arrayBufferLike = bigIntArray; @@ -78,10 +94,20 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU var bigIntArray = new BigInt64Array(); bigIntArray = new BigInt64Array(10); bigIntArray = new BigInt64Array([1n, 2n, 3n]); +bigIntArray = new BigInt64Array({ 0: 1n, 1: 2n, 2: 3n, length: 3 }); bigIntArray = new BigInt64Array([1, 2, 3]); +bigIntArray = new BigInt64Array({ 0: 1, 1: 2, 2: 3, length: 3 }); bigIntArray = new BigInt64Array(new ArrayBuffer(80)); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +bigIntArray = BigInt64Array.from([1n, 2n, 3n], function (n) { return n * 10n; }); +bigIntArray = BigInt64Array.from({ 0: 1n, 1: 2n, 2: 3n, length: 3 }); +bigIntArray = BigInt64Array.from({ 0: 1n, 1: 2n, 2: 3n, length: 3 }, function (n) { return n * 10n; }); +bigUintArray = BigUint64Array.from({ 0: 1n, 1: 2n, 2: 3n, length: 3 }); +bigUintArray = BigUint64Array.from({ 0: 1n, 1: 2n, 2: 3n, length: 3 }, function (n) { return n * 10n; }); +bigIntArray = BigInt64Array.from(['1', '2', '3']); +bigIntArray = BigInt64Array.from(['1', '2', '3'], function (s) { return BigInt(s); }); var len = bigIntArray.length; bigIntArray.length = 10; var arrayBufferLike = bigIntArray; @@ -89,10 +115,16 @@ var arrayBufferLike = bigIntArray; var bigUintArray = new BigUint64Array(); bigUintArray = new BigUint64Array(10); bigUintArray = new BigUint64Array([1n, 2n, 3n]); +bigUintArray = new BigUint64Array({ 0: 1n, 1: 2n, 2: 3n, length: 3 }); bigUintArray = new BigUint64Array([1, 2, 3]); +bigUintArray = new BigUint64Array({ 0: 1, 1: 2, 2: 3, length: 3 }); bigUintArray = new BigUint64Array(new ArrayBuffer(80)); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +bigUintArray = BigUint64Array.from([1n, 2n, 3n], function (n) { return n * 10n; }); +bigUintArray = BigUint64Array.from(['1', '2', '3']); +bigUintArray = BigUint64Array.from(['1', '2', '3'], function (s) { return BigInt(s); }); len = bigIntArray.length; bigIntArray.length = 10; arrayBufferLike = bigIntArray; diff --git a/tests/baselines/reference/bigintWithoutLib.symbols b/tests/baselines/reference/bigintWithoutLib.symbols index a0f7963ca1810..993bc5b00272f 100644 --- a/tests/baselines/reference/bigintWithoutLib.symbols +++ b/tests/baselines/reference/bigintWithoutLib.symbols @@ -73,9 +73,23 @@ bigIntArray = new BigInt64Array(10); bigIntArray = new BigInt64Array([1n, 2n, 3n]); >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +>0 : Symbol(0, Decl(bigintWithoutLib.ts, 20, 33)) +>1 : Symbol(1, Decl(bigintWithoutLib.ts, 20, 39)) +>2 : Symbol(2, Decl(bigintWithoutLib.ts, 20, 46)) +>length : Symbol(length, Decl(bigintWithoutLib.ts, 20, 53)) + bigIntArray = new BigInt64Array([1, 2, 3]); >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +>0 : Symbol(0, Decl(bigintWithoutLib.ts, 22, 33)) +>1 : Symbol(1, Decl(bigintWithoutLib.ts, 22, 38)) +>2 : Symbol(2, Decl(bigintWithoutLib.ts, 22, 44)) +>length : Symbol(length, Decl(bigintWithoutLib.ts, 22, 50)) + bigIntArray = new BigInt64Array(new ArrayBuffer(80)); >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) @@ -88,94 +102,172 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) + +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +>n : Symbol(n, Decl(bigintWithoutLib.ts, 27, 46)) +>n : Symbol(n, Decl(bigintWithoutLib.ts, 27, 46)) + +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +>0 : Symbol(0, Decl(bigintWithoutLib.ts, 28, 34)) +>1 : Symbol(1, Decl(bigintWithoutLib.ts, 28, 40)) +>2 : Symbol(2, Decl(bigintWithoutLib.ts, 28, 47)) +>length : Symbol(length, Decl(bigintWithoutLib.ts, 28, 54)) + +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +>0 : Symbol(0, Decl(bigintWithoutLib.ts, 29, 34)) +>1 : Symbol(1, Decl(bigintWithoutLib.ts, 29, 40)) +>2 : Symbol(2, Decl(bigintWithoutLib.ts, 29, 47)) +>length : Symbol(length, Decl(bigintWithoutLib.ts, 29, 54)) +>n : Symbol(n, Decl(bigintWithoutLib.ts, 29, 66)) +>n : Symbol(n, Decl(bigintWithoutLib.ts, 29, 66)) + +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) +>0 : Symbol(0, Decl(bigintWithoutLib.ts, 30, 36)) +>1 : Symbol(1, Decl(bigintWithoutLib.ts, 30, 42)) +>2 : Symbol(2, Decl(bigintWithoutLib.ts, 30, 49)) +>length : Symbol(length, Decl(bigintWithoutLib.ts, 30, 56)) + +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) +>0 : Symbol(0, Decl(bigintWithoutLib.ts, 31, 36)) +>1 : Symbol(1, Decl(bigintWithoutLib.ts, 31, 42)) +>2 : Symbol(2, Decl(bigintWithoutLib.ts, 31, 49)) +>length : Symbol(length, Decl(bigintWithoutLib.ts, 31, 56)) +>n : Symbol(n, Decl(bigintWithoutLib.ts, 31, 68)) +>n : Symbol(n, Decl(bigintWithoutLib.ts, 31, 68)) + +bigIntArray = BigInt64Array.from(['1', '2', '3']); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) + +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); +>bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) +>s : Symbol(s, Decl(bigintWithoutLib.ts, 33, 49)) +>s : Symbol(s, Decl(bigintWithoutLib.ts, 33, 49)) + let len: number = bigIntArray.length; ->len : Symbol(len, Decl(bigintWithoutLib.ts, 24, 3)) +>len : Symbol(len, Decl(bigintWithoutLib.ts, 34, 3)) >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) bigIntArray.length = 10; >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) let arrayBufferLike: ArrayBufferView = bigIntArray; ->arrayBufferLike : Symbol(arrayBufferLike, Decl(bigintWithoutLib.ts, 26, 3)) +>arrayBufferLike : Symbol(arrayBufferLike, Decl(bigintWithoutLib.ts, 36, 3)) >ArrayBufferView : Symbol(ArrayBufferView, Decl(lib.es5.d.ts, --, --)) >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) // Test BigUint64Array let bigUintArray: BigUint64Array = new BigUint64Array(); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) >BigUint64Array : Symbol(BigUint64Array) bigUintArray = new BigUint64Array(10); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) bigUintArray = new BigUint64Array([1n, 2n, 3n]); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) + +bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) +>0 : Symbol(0, Decl(bigintWithoutLib.ts, 42, 35)) +>1 : Symbol(1, Decl(bigintWithoutLib.ts, 42, 41)) +>2 : Symbol(2, Decl(bigintWithoutLib.ts, 42, 48)) +>length : Symbol(length, Decl(bigintWithoutLib.ts, 42, 55)) bigUintArray = new BigUint64Array([1, 2, 3]); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) + +bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) +>0 : Symbol(0, Decl(bigintWithoutLib.ts, 44, 35)) +>1 : Symbol(1, Decl(bigintWithoutLib.ts, 44, 40)) +>2 : Symbol(2, Decl(bigintWithoutLib.ts, 44, 46)) +>length : Symbol(length, Decl(bigintWithoutLib.ts, 44, 52)) bigUintArray = new BigUint64Array(new ArrayBuffer(80)); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); ->bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 29, 3)) +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) + +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) +>n : Symbol(n, Decl(bigintWithoutLib.ts, 49, 48)) +>n : Symbol(n, Decl(bigintWithoutLib.ts, 49, 48)) + +bigUintArray = BigUint64Array.from(['1', '2', '3']); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) + +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); +>bigUintArray : Symbol(bigUintArray, Decl(bigintWithoutLib.ts, 39, 3)) +>s : Symbol(s, Decl(bigintWithoutLib.ts, 51, 51)) +>s : Symbol(s, Decl(bigintWithoutLib.ts, 51, 51)) + len = bigIntArray.length; ->len : Symbol(len, Decl(bigintWithoutLib.ts, 24, 3)) +>len : Symbol(len, Decl(bigintWithoutLib.ts, 34, 3)) >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) bigIntArray.length = 10; >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) arrayBufferLike = bigIntArray; ->arrayBufferLike : Symbol(arrayBufferLike, Decl(bigintWithoutLib.ts, 26, 3)) +>arrayBufferLike : Symbol(arrayBufferLike, Decl(bigintWithoutLib.ts, 36, 3)) >bigIntArray : Symbol(bigIntArray, Decl(bigintWithoutLib.ts, 17, 3)) // Test added DataView methods const dataView = new DataView(new ArrayBuffer(80)); ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) >DataView : Symbol(DataView, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) >ArrayBuffer : Symbol(ArrayBuffer, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) dataView.setBigInt64(1, -1n); ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) dataView.setBigInt64(1, -1n, true); ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) dataView.setBigInt64(1, -1); ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) dataView.setBigUint64(2, 123n); ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) dataView.setBigUint64(2, 123n, true); ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) dataView.setBigUint64(2, 123); ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) bigintVal = dataView.getBigInt64(1); >bigintVal : Symbol(bigintVal, Decl(bigintWithoutLib.ts, 3, 3)) ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) bigintVal = dataView.getBigInt64(1, true); >bigintVal : Symbol(bigintVal, Decl(bigintWithoutLib.ts, 3, 3)) ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) bigintVal = dataView.getBigUint64(2); >bigintVal : Symbol(bigintVal, Decl(bigintWithoutLib.ts, 3, 3)) ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) bigintVal = dataView.getBigUint64(2, true); >bigintVal : Symbol(bigintVal, Decl(bigintWithoutLib.ts, 3, 3)) ->dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 41, 5)) +>dataView : Symbol(dataView, Decl(bigintWithoutLib.ts, 57, 5)) // Test Intl methods with new parameter type new Intl.NumberFormat("fr").format(3000n); diff --git a/tests/baselines/reference/bigintWithoutLib.types b/tests/baselines/reference/bigintWithoutLib.types index c1ae99c1fe3a5..8dedd618e3fa9 100644 --- a/tests/baselines/reference/bigintWithoutLib.types +++ b/tests/baselines/reference/bigintWithoutLib.types @@ -229,6 +229,34 @@ bigIntArray = new BigInt64Array([1n, 2n, 3n]); >3n : 3n > : ^^ +bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}) : any +> : ^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}) : any +> : ^^^ +>BigInt64Array : any +> : ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + bigIntArray = new BigInt64Array([1, 2, 3]); >bigIntArray = new BigInt64Array([1, 2, 3]) : any > : ^^^ @@ -247,6 +275,34 @@ bigIntArray = new BigInt64Array([1, 2, 3]); >3 : 3 > : ^ +bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); +>bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}) : any +> : ^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}) : any +> : ^^^ +>BigInt64Array : any +> : ^^^ +>{0: 1, 1: 2, 2: 3, length: 3} : { 0: number; 1: number; 2: number; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>1 : number +> : ^^^^^^ +>2 : 2 +> : ^ +>2 : number +> : ^^^^^^ +>3 : 3 +> : ^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + bigIntArray = new BigInt64Array(new ArrayBuffer(80)); >bigIntArray = new BigInt64Array(new ArrayBuffer(80)) : any > : ^^^ @@ -301,6 +357,262 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); >3 : 3 > : ^ +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +>bigIntArray = BigInt64Array.from([1n, 2n, 3n]) : any +> : ^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from([1n, 2n, 3n]) : any +> : ^^^ +>BigInt64Array.from : any +> : ^^^ +>BigInt64Array : any +> : ^^^ +>from : any +> : ^^^ +>[1n, 2n, 3n] : bigint[] +> : ^^^^^^^^ +>1n : 1n +> : ^^ +>2n : 2n +> : ^^ +>3n : 3n +> : ^^ + +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +>bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n) : any +> : ^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from([1n, 2n, 3n], n => n * 10n) : any +> : ^^^ +>BigInt64Array.from : any +> : ^^^ +>BigInt64Array : any +> : ^^^ +>from : any +> : ^^^ +>[1n, 2n, 3n] : bigint[] +> : ^^^^^^^^ +>1n : 1n +> : ^^ +>2n : 2n +> : ^^ +>3n : 3n +> : ^^ +>n => n * 10n : (n: any) => bigint +> : ^ ^^^^^^^^^^^^^^^^ +>n : any +> : ^^^ +>n * 10n : bigint +> : ^^^^^^ +>n : any +> : ^^^ +>10n : 10n +> : ^^^ + +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}) : any +> : ^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}) : any +> : ^^^ +>BigInt64Array.from : any +> : ^^^ +>BigInt64Array : any +> : ^^^ +>from : any +> : ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +>bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n) : any +> : ^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n) : any +> : ^^^ +>BigInt64Array.from : any +> : ^^^ +>BigInt64Array : any +> : ^^^ +>from : any +> : ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ +>n => n * 10n : (n: any) => bigint +> : ^ ^^^^^^^^^^^^^^^^ +>n : any +> : ^^^ +>n * 10n : bigint +> : ^^^^^^ +>n : any +> : ^^^ +>10n : 10n +> : ^^^ + +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}) : any +> : ^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}) : any +> : ^^^ +>BigUint64Array.from : any +> : ^^^ +>BigUint64Array : any +> : ^^^ +>from : any +> : ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +>bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n) : any +> : ^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n) : any +> : ^^^ +>BigUint64Array.from : any +> : ^^^ +>BigUint64Array : any +> : ^^^ +>from : any +> : ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ +>n => n * 10n : (n: any) => bigint +> : ^ ^^^^^^^^^^^^^^^^ +>n : any +> : ^^^ +>n * 10n : bigint +> : ^^^^^^ +>n : any +> : ^^^ +>10n : 10n +> : ^^^ + +bigIntArray = BigInt64Array.from(['1', '2', '3']); +>bigIntArray = BigInt64Array.from(['1', '2', '3']) : any +> : ^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from(['1', '2', '3']) : any +> : ^^^ +>BigInt64Array.from : any +> : ^^^ +>BigInt64Array : any +> : ^^^ +>from : any +> : ^^^ +>['1', '2', '3'] : string[] +> : ^^^^^^^^ +>'1' : "1" +> : ^^^ +>'2' : "2" +> : ^^^ +>'3' : "3" +> : ^^^ + +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); +>bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)) : any +> : ^^^ +>bigIntArray : BigInt64Array +> : ^^^^^^^^^^^^^ +>BigInt64Array.from(['1', '2', '3'], s => BigInt(s)) : any +> : ^^^ +>BigInt64Array.from : any +> : ^^^ +>BigInt64Array : any +> : ^^^ +>from : any +> : ^^^ +>['1', '2', '3'] : string[] +> : ^^^^^^^^ +>'1' : "1" +> : ^^^ +>'2' : "2" +> : ^^^ +>'3' : "3" +> : ^^^ +>s => BigInt(s) : (s: any) => any +> : ^ ^^^^^^^^^^^^^ +>s : any +> : ^^^ +>BigInt(s) : any +> : ^^^ +>BigInt : any +> : ^^^ +>s : any +> : ^^^ + let len: number = bigIntArray.length; >len : number > : ^^^^^^ @@ -368,6 +680,34 @@ bigUintArray = new BigUint64Array([1n, 2n, 3n]); >3n : 3n > : ^^ +bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); +>bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}) : any +> : ^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}) : any +> : ^^^ +>BigUint64Array : any +> : ^^^ +>{0: 1n, 1: 2n, 2: 3n, length: 3} : { 0: bigint; 1: bigint; 2: bigint; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : bigint +> : ^^^^^^ +>1n : 1n +> : ^^ +>1 : bigint +> : ^^^^^^ +>2n : 2n +> : ^^ +>2 : bigint +> : ^^^^^^ +>3n : 3n +> : ^^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + bigUintArray = new BigUint64Array([1, 2, 3]); >bigUintArray = new BigUint64Array([1, 2, 3]) : any > : ^^^ @@ -386,6 +726,34 @@ bigUintArray = new BigUint64Array([1, 2, 3]); >3 : 3 > : ^ +bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); +>bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}) : any +> : ^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}) : any +> : ^^^ +>BigUint64Array : any +> : ^^^ +>{0: 1, 1: 2, 2: 3, length: 3} : { 0: number; 1: number; 2: number; length: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>0 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>1 : number +> : ^^^^^^ +>2 : 2 +> : ^ +>2 : number +> : ^^^^^^ +>3 : 3 +> : ^ +>length : number +> : ^^^^^^ +>3 : 3 +> : ^ + bigUintArray = new BigUint64Array(new ArrayBuffer(80)); >bigUintArray = new BigUint64Array(new ArrayBuffer(80)) : any > : ^^^ @@ -440,6 +808,114 @@ bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); >3 : 3 > : ^ +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +>bigUintArray = BigUint64Array.from([1n, 2n, 3n]) : any +> : ^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from([1n, 2n, 3n]) : any +> : ^^^ +>BigUint64Array.from : any +> : ^^^ +>BigUint64Array : any +> : ^^^ +>from : any +> : ^^^ +>[1n, 2n, 3n] : bigint[] +> : ^^^^^^^^ +>1n : 1n +> : ^^ +>2n : 2n +> : ^^ +>3n : 3n +> : ^^ + +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +>bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n) : any +> : ^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from([1n, 2n, 3n], n => n * 10n) : any +> : ^^^ +>BigUint64Array.from : any +> : ^^^ +>BigUint64Array : any +> : ^^^ +>from : any +> : ^^^ +>[1n, 2n, 3n] : bigint[] +> : ^^^^^^^^ +>1n : 1n +> : ^^ +>2n : 2n +> : ^^ +>3n : 3n +> : ^^ +>n => n * 10n : (n: any) => bigint +> : ^ ^^^^^^^^^^^^^^^^ +>n : any +> : ^^^ +>n * 10n : bigint +> : ^^^^^^ +>n : any +> : ^^^ +>10n : 10n +> : ^^^ + +bigUintArray = BigUint64Array.from(['1', '2', '3']); +>bigUintArray = BigUint64Array.from(['1', '2', '3']) : any +> : ^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from(['1', '2', '3']) : any +> : ^^^ +>BigUint64Array.from : any +> : ^^^ +>BigUint64Array : any +> : ^^^ +>from : any +> : ^^^ +>['1', '2', '3'] : string[] +> : ^^^^^^^^ +>'1' : "1" +> : ^^^ +>'2' : "2" +> : ^^^ +>'3' : "3" +> : ^^^ + +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); +>bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)) : any +> : ^^^ +>bigUintArray : BigUint64Array +> : ^^^^^^^^^^^^^^ +>BigUint64Array.from(['1', '2', '3'], s => BigInt(s)) : any +> : ^^^ +>BigUint64Array.from : any +> : ^^^ +>BigUint64Array : any +> : ^^^ +>from : any +> : ^^^ +>['1', '2', '3'] : string[] +> : ^^^^^^^^ +>'1' : "1" +> : ^^^ +>'2' : "2" +> : ^^^ +>'3' : "3" +> : ^^^ +>s => BigInt(s) : (s: any) => any +> : ^ ^^^^^^^^^^^^^ +>s : any +> : ^^^ +>BigInt(s) : any +> : ^^^ +>BigInt : any +> : ^^^ +>s : any +> : ^^^ + len = bigIntArray.length; >len = bigIntArray.length : any > : ^^^ diff --git a/tests/baselines/reference/typedArrays.js b/tests/baselines/reference/typedArrays.js index f4212d10ff6ef..f54fd35365efc 100644 --- a/tests/baselines/reference/typedArrays.js +++ b/tests/baselines/reference/typedArrays.js @@ -163,6 +163,51 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe typedArrays[7] = Float64Array.from(obj, mapFn, thisArg); typedArrays[8] = Uint8ClampedArray.from(obj, mapFn, thisArg); + return typedArrays; +} + +function CreateTypedArraysFromIterable(obj:Iterable) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj); + typedArrays[1] = Uint8Array.from(obj); + typedArrays[2] = Int16Array.from(obj); + typedArrays[3] = Uint16Array.from(obj); + typedArrays[4] = Int32Array.from(obj); + typedArrays[5] = Uint32Array.from(obj); + typedArrays[6] = Float32Array.from(obj); + typedArrays[7] = Float64Array.from(obj); + typedArrays[8] = Uint8ClampedArray.from(obj); + + return typedArrays; +} + +function CreateTypedArraysFromMappedIterable(obj:Iterable, mapFn: (n:number, v:number)=> number) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj, mapFn); + typedArrays[1] = Uint8Array.from(obj, mapFn); + typedArrays[2] = Int16Array.from(obj, mapFn); + typedArrays[3] = Uint16Array.from(obj, mapFn); + typedArrays[4] = Int32Array.from(obj, mapFn); + typedArrays[5] = Uint32Array.from(obj, mapFn); + typedArrays[6] = Float32Array.from(obj, mapFn); + typedArrays[7] = Float64Array.from(obj, mapFn); + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); + + return typedArrays; +} + +function CreateTypedArraysFromMappedIterable2(obj:Iterable, mapFn: (n:T, v:number)=> number) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj, mapFn); + typedArrays[1] = Uint8Array.from(obj, mapFn); + typedArrays[2] = Int16Array.from(obj, mapFn); + typedArrays[3] = Uint16Array.from(obj, mapFn); + typedArrays[4] = Int32Array.from(obj, mapFn); + typedArrays[5] = Uint32Array.from(obj, mapFn); + typedArrays[6] = Float32Array.from(obj, mapFn); + typedArrays[7] = Float64Array.from(obj, mapFn); + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); + return typedArrays; } @@ -310,3 +355,42 @@ function CreateTypedArraysFromThisObj2(obj, mapFn, thisArg) { typedArrays[8] = Uint8ClampedArray.from(obj, mapFn, thisArg); return typedArrays; } +function CreateTypedArraysFromIterable(obj) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj); + typedArrays[1] = Uint8Array.from(obj); + typedArrays[2] = Int16Array.from(obj); + typedArrays[3] = Uint16Array.from(obj); + typedArrays[4] = Int32Array.from(obj); + typedArrays[5] = Uint32Array.from(obj); + typedArrays[6] = Float32Array.from(obj); + typedArrays[7] = Float64Array.from(obj); + typedArrays[8] = Uint8ClampedArray.from(obj); + return typedArrays; +} +function CreateTypedArraysFromMappedIterable(obj, mapFn) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj, mapFn); + typedArrays[1] = Uint8Array.from(obj, mapFn); + typedArrays[2] = Int16Array.from(obj, mapFn); + typedArrays[3] = Uint16Array.from(obj, mapFn); + typedArrays[4] = Int32Array.from(obj, mapFn); + typedArrays[5] = Uint32Array.from(obj, mapFn); + typedArrays[6] = Float32Array.from(obj, mapFn); + typedArrays[7] = Float64Array.from(obj, mapFn); + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); + return typedArrays; +} +function CreateTypedArraysFromMappedIterable2(obj, mapFn) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj, mapFn); + typedArrays[1] = Uint8Array.from(obj, mapFn); + typedArrays[2] = Int16Array.from(obj, mapFn); + typedArrays[3] = Uint16Array.from(obj, mapFn); + typedArrays[4] = Int32Array.from(obj, mapFn); + typedArrays[5] = Uint32Array.from(obj, mapFn); + typedArrays[6] = Float32Array.from(obj, mapFn); + typedArrays[7] = Float64Array.from(obj, mapFn); + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); + return typedArrays; +} diff --git a/tests/baselines/reference/typedArrays.symbols b/tests/baselines/reference/typedArrays.symbols index 3092529ae474d..00b37c0f954e0 100644 --- a/tests/baselines/reference/typedArrays.symbols +++ b/tests/baselines/reference/typedArrays.symbols @@ -168,65 +168,65 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { typedArrays[0] = Int8Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) typedArrays[1] = Uint8Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) typedArrays[2] = Int16Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) typedArrays[3] = Uint16Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) typedArrays[4] = Int32Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) typedArrays[5] = Uint32Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) typedArrays[6] = Float32Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) typedArrays[7] = Float64Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) typedArrays[8] = Uint8ClampedArray.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) return typedArrays; @@ -243,65 +243,65 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { typedArrays[0] = Int8Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) typedArrays[1] = Uint8Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) typedArrays[2] = Int16Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) typedArrays[3] = Uint16Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) typedArrays[4] = Int32Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) typedArrays[5] = Uint32Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) typedArrays[6] = Float32Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) typedArrays[7] = Float64Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) typedArrays[8] = Uint8ClampedArray.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) return typedArrays; @@ -462,73 +462,73 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) typedArrays[0] = Int8Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) typedArrays[1] = Uint8Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) typedArrays[2] = Int16Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) typedArrays[3] = Uint16Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) typedArrays[4] = Int32Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) typedArrays[5] = Uint32Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) typedArrays[6] = Float32Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) typedArrays[7] = Float64Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 106, 7)) ->Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 40)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57)) @@ -549,73 +549,73 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n typedArrays[0] = Int8Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) typedArrays[1] = Uint8Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) typedArrays[2] = Int16Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) typedArrays[3] = Uint16Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) typedArrays[4] = Int32Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) typedArrays[5] = Uint32Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) typedArrays[6] = Float32Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) typedArrays[7] = Float64Array.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58)) @@ -637,81 +637,81 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v typedArrays[0] = Int8Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) typedArrays[1] = Uint8Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) typedArrays[2] = Int16Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) typedArrays[3] = Uint16Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) typedArrays[4] = Int32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) typedArrays[5] = Uint32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) typedArrays[6] = Float32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) typedArrays[7] = Float64Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) typedArrays[8] = Uint8ClampedArray.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 136, 7)) ->Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 135, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 135, 98)) @@ -737,81 +737,81 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe typedArrays[0] = Int8Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) typedArrays[1] = Uint8Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) typedArrays[2] = Int16Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) typedArrays[3] = Uint16Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) typedArrays[4] = Int32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) typedArrays[5] = Uint32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) typedArrays[6] = Float32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) typedArrays[7] = Float64Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) typedArrays[8] = Uint8ClampedArray.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) ->Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 150, 42)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 150, 92)) @@ -819,3 +819,255 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe return typedArrays; >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 151, 7)) } + +function CreateTypedArraysFromIterable(obj:Iterable) { +>CreateTypedArraysFromIterable : Symbol(CreateTypedArraysFromIterable, Decl(typedArrays.ts, 163, 1)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) +>Iterable : Symbol(Iterable, Decl(lib.es2015.iterable.d.ts, --, --)) + + var typedArrays = []; +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) + + typedArrays[0] = Int8Array.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + typedArrays[1] = Uint8Array.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + typedArrays[2] = Int16Array.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + typedArrays[3] = Uint16Array.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + typedArrays[4] = Int32Array.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + typedArrays[5] = Uint32Array.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + typedArrays[6] = Float32Array.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + typedArrays[7] = Float64Array.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + typedArrays[8] = Uint8ClampedArray.from(obj); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 165, 39)) + + return typedArrays; +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 166, 7)) +} + +function CreateTypedArraysFromMappedIterable(obj:Iterable, mapFn: (n:number, v:number)=> number) { +>CreateTypedArraysFromMappedIterable : Symbol(CreateTypedArraysFromMappedIterable, Decl(typedArrays.ts, 178, 1)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>Iterable : Symbol(Iterable, Decl(lib.es2015.iterable.d.ts, --, --)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) +>n : Symbol(n, Decl(typedArrays.ts, 180, 75)) +>v : Symbol(v, Decl(typedArrays.ts, 180, 84)) + + var typedArrays = []; +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) + + typedArrays[0] = Int8Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + typedArrays[1] = Uint8Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + typedArrays[2] = Int16Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + typedArrays[3] = Uint16Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + typedArrays[4] = Int32Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + typedArrays[5] = Uint32Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + typedArrays[6] = Float32Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + typedArrays[7] = Float64Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 180, 45)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 180, 66)) + + return typedArrays; +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 181, 7)) +} + +function CreateTypedArraysFromMappedIterable2(obj:Iterable, mapFn: (n:T, v:number)=> number) { +>CreateTypedArraysFromMappedIterable2 : Symbol(CreateTypedArraysFromMappedIterable2, Decl(typedArrays.ts, 193, 1)) +>T : Symbol(T, Decl(typedArrays.ts, 195, 46)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>Iterable : Symbol(Iterable, Decl(lib.es2015.iterable.d.ts, --, --)) +>T : Symbol(T, Decl(typedArrays.ts, 195, 46)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) +>n : Symbol(n, Decl(typedArrays.ts, 195, 74)) +>T : Symbol(T, Decl(typedArrays.ts, 195, 46)) +>v : Symbol(v, Decl(typedArrays.ts, 195, 78)) + + var typedArrays = []; +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) + + typedArrays[0] = Int8Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + typedArrays[1] = Uint8Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + typedArrays[2] = Int16Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + typedArrays[3] = Uint16Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + typedArrays[4] = Int32Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + typedArrays[5] = Uint32Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + typedArrays[6] = Float32Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + typedArrays[7] = Float64Array.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>obj : Symbol(obj, Decl(typedArrays.ts, 195, 49)) +>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 195, 65)) + + return typedArrays; +>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 196, 7)) +} diff --git a/tests/baselines/reference/typedArrays.types b/tests/baselines/reference/typedArrays.types index b6f692914ad7d..e320736aa1530 100644 --- a/tests/baselines/reference/typedArrays.types +++ b/tests/baselines/reference/typedArrays.types @@ -441,12 +441,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Int8Array.from(obj) : Int8Array > : ^^^^^^^^^ ->Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int8Array : Int8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -460,12 +460,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Uint8Array.from(obj) : Uint8Array > : ^^^^^^^^^^ ->Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8Array : Uint8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -479,12 +479,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Int16Array.from(obj) : Int16Array > : ^^^^^^^^^^ ->Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int16Array : Int16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -498,12 +498,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Uint16Array.from(obj) : Uint16Array > : ^^^^^^^^^^^ ->Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint16Array : Uint16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -517,12 +517,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Int32Array.from(obj) : Int32Array > : ^^^^^^^^^^ ->Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int32Array : Int32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -536,12 +536,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Uint32Array.from(obj) : Uint32Array > : ^^^^^^^^^^^ ->Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint32Array : Uint32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -555,12 +555,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Float32Array.from(obj) : Float32Array > : ^^^^^^^^^^^^ ->Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float32Array : Float32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -574,12 +574,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Float64Array.from(obj) : Float64Array > : ^^^^^^^^^^^^ ->Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float64Array : Float64ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -593,12 +593,12 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { > : ^ >Uint8ClampedArray.from(obj) : Uint8ClampedArray > : ^^^^^^^^^^^^^^^^^ ->Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8ClampedArray : Uint8ClampedArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : number[] > : ^^^^^^^^ @@ -629,12 +629,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Int8Array.from(obj) : Int8Array > : ^^^^^^^^^ ->Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int8Array : Int8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -648,12 +648,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Uint8Array.from(obj) : Uint8Array > : ^^^^^^^^^^ ->Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8Array : Uint8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -667,12 +667,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Int16Array.from(obj) : Int16Array > : ^^^^^^^^^^ ->Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int16Array : Int16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -686,12 +686,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Uint16Array.from(obj) : Uint16Array > : ^^^^^^^^^^^ ->Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint16Array : Uint16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -705,12 +705,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Int32Array.from(obj) : Int32Array > : ^^^^^^^^^^ ->Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int32Array : Int32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -724,12 +724,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Uint32Array.from(obj) : Uint32Array > : ^^^^^^^^^^^ ->Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint32Array : Uint32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -743,12 +743,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Float32Array.from(obj) : Float32Array > : ^^^^^^^^^^^^ ->Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float32Array : Float32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -762,12 +762,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Float64Array.from(obj) : Float64Array > : ^^^^^^^^^^^^ ->Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float64Array : Float64ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -781,12 +781,12 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { > : ^ >Uint8ClampedArray.from(obj) : Uint8ClampedArray > : ^^^^^^^^^^^^^^^^^ ->Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8ClampedArray : Uint8ClampedArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ @@ -1250,12 +1250,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Int8Array.from(obj, mapFn) : Int8Array > : ^^^^^^^^^ ->Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int8Array : Int8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1271,12 +1271,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Uint8Array.from(obj, mapFn) : Uint8Array > : ^^^^^^^^^^ ->Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8Array : Uint8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1292,12 +1292,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Int16Array.from(obj, mapFn) : Int16Array > : ^^^^^^^^^^ ->Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int16Array : Int16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1313,12 +1313,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Uint16Array.from(obj, mapFn) : Uint16Array > : ^^^^^^^^^^^ ->Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint16Array : Uint16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1334,12 +1334,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Int32Array.from(obj, mapFn) : Int32Array > : ^^^^^^^^^^ ->Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int32Array : Int32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1355,12 +1355,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Uint32Array.from(obj, mapFn) : Uint32Array > : ^^^^^^^^^^^ ->Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint32Array : Uint32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1376,12 +1376,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Float32Array.from(obj, mapFn) : Float32Array > : ^^^^^^^^^^^^ ->Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float32Array : Float32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1397,12 +1397,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Float64Array.from(obj, mapFn) : Float64Array > : ^^^^^^^^^^^^ ->Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float64Array : Float64ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1418,12 +1418,12 @@ function CreateTypedArraysFromMapFn2(obj:ArrayLike, mapFn: (n:T, v:number) > : ^ >Uint8ClampedArray.from(obj, mapFn) : Uint8ClampedArray > : ^^^^^^^^^^^^^^^^^ ->Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8ClampedArray : Uint8ClampedArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1462,12 +1462,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Int8Array.from(obj, mapFn) : Int8Array > : ^^^^^^^^^ ->Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int8Array : Int8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1483,12 +1483,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Uint8Array.from(obj, mapFn) : Uint8Array > : ^^^^^^^^^^ ->Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8Array : Uint8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1504,12 +1504,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Int16Array.from(obj, mapFn) : Int16Array > : ^^^^^^^^^^ ->Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int16Array : Int16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1525,12 +1525,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Uint16Array.from(obj, mapFn) : Uint16Array > : ^^^^^^^^^^^ ->Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint16Array : Uint16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1546,12 +1546,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Int32Array.from(obj, mapFn) : Int32Array > : ^^^^^^^^^^ ->Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int32Array : Int32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1567,12 +1567,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Uint32Array.from(obj, mapFn) : Uint32Array > : ^^^^^^^^^^^ ->Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint32Array : Uint32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1588,12 +1588,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Float32Array.from(obj, mapFn) : Float32Array > : ^^^^^^^^^^^^ ->Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float32Array : Float32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1609,12 +1609,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Float64Array.from(obj, mapFn) : Float64Array > : ^^^^^^^^^^^^ ->Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float64Array : Float64ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1630,12 +1630,12 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n > : ^ >Uint8ClampedArray.from(obj, mapFn) : Uint8ClampedArray > : ^^^^^^^^^^^^^^^^^ ->Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8ClampedArray : Uint8ClampedArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1676,12 +1676,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Int8Array.from(obj, mapFn, thisArg) : Int8Array > : ^^^^^^^^^ ->Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int8Array : Int8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1699,12 +1699,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Uint8Array.from(obj, mapFn, thisArg) : Uint8Array > : ^^^^^^^^^^ ->Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8Array : Uint8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1722,12 +1722,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Int16Array.from(obj, mapFn, thisArg) : Int16Array > : ^^^^^^^^^^ ->Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int16Array : Int16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1745,12 +1745,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Uint16Array.from(obj, mapFn, thisArg) : Uint16Array > : ^^^^^^^^^^^ ->Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint16Array : Uint16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1768,12 +1768,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Int32Array.from(obj, mapFn, thisArg) : Int32Array > : ^^^^^^^^^^ ->Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int32Array : Int32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1791,12 +1791,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Uint32Array.from(obj, mapFn, thisArg) : Uint32Array > : ^^^^^^^^^^^ ->Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint32Array : Uint32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1814,12 +1814,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Float32Array.from(obj, mapFn, thisArg) : Float32Array > : ^^^^^^^^^^^^ ->Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float32Array : Float32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1837,12 +1837,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Float64Array.from(obj, mapFn, thisArg) : Float64Array > : ^^^^^^^^^^^^ ->Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float64Array : Float64ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1860,12 +1860,12 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v > : ^ >Uint8ClampedArray.from(obj, mapFn, thisArg) : Uint8ClampedArray > : ^^^^^^^^^^^^^^^^^ ->Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8ClampedArray : Uint8ClampedArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^^^^^^ >mapFn : (n: number, v: number) => number @@ -1908,12 +1908,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Int8Array.from(obj, mapFn, thisArg) : Int8Array > : ^^^^^^^^^ ->Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int8Array : Int8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1931,12 +1931,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Uint8Array.from(obj, mapFn, thisArg) : Uint8Array > : ^^^^^^^^^^ ->Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8Array : Uint8ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1954,12 +1954,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Int16Array.from(obj, mapFn, thisArg) : Int16Array > : ^^^^^^^^^^ ->Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int16Array : Int16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -1977,12 +1977,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Uint16Array.from(obj, mapFn, thisArg) : Uint16Array > : ^^^^^^^^^^^ ->Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint16Array : Uint16ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -2000,12 +2000,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Int32Array.from(obj, mapFn, thisArg) : Int32Array > : ^^^^^^^^^^ ->Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Int32Array : Int32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -2023,12 +2023,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Uint32Array.from(obj, mapFn, thisArg) : Uint32Array > : ^^^^^^^^^^^ ->Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint32Array : Uint32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -2046,12 +2046,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Float32Array.from(obj, mapFn, thisArg) : Float32Array > : ^^^^^^^^^^^^ ->Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float32Array : Float32ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -2069,12 +2069,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Float64Array.from(obj, mapFn, thisArg) : Float64Array > : ^^^^^^^^^^^^ ->Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Float64Array : Float64ArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -2092,12 +2092,12 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe > : ^ >Uint8ClampedArray.from(obj, mapFn, thisArg) : Uint8ClampedArray > : ^^^^^^^^^^^^^^^^^ ->Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >Uint8ClampedArray : Uint8ClampedArrayConstructor > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } -> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^ ^^^ ^^^ ^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ >obj : ArrayLike > : ^^^^^^^^^^^^ >mapFn : (n: T, v: number) => number @@ -2109,3 +2109,615 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe >typedArrays : any[] > : ^^^^^ } + +function CreateTypedArraysFromIterable(obj:Iterable) { +>CreateTypedArraysFromIterable : (obj: Iterable) => any[] +> : ^ ^^ ^^^^^^^^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + var typedArrays = []; +>typedArrays : any[] +> : ^^^^^ +>[] : undefined[] +> : ^^^^^^^^^^^ + + typedArrays[0] = Int8Array.from(obj); +>typedArrays[0] = Int8Array.from(obj) : Int8Array +> : ^^^^^^^^^ +>typedArrays[0] : any +>typedArrays : any[] +> : ^^^^^ +>0 : 0 +> : ^ +>Int8Array.from(obj) : Int8Array +> : ^^^^^^^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int8Array : Int8ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + typedArrays[1] = Uint8Array.from(obj); +>typedArrays[1] = Uint8Array.from(obj) : Uint8Array +> : ^^^^^^^^^^ +>typedArrays[1] : any +>typedArrays : any[] +> : ^^^^^ +>1 : 1 +> : ^ +>Uint8Array.from(obj) : Uint8Array +> : ^^^^^^^^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array : Uint8ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + typedArrays[2] = Int16Array.from(obj); +>typedArrays[2] = Int16Array.from(obj) : Int16Array +> : ^^^^^^^^^^ +>typedArrays[2] : any +>typedArrays : any[] +> : ^^^^^ +>2 : 2 +> : ^ +>Int16Array.from(obj) : Int16Array +> : ^^^^^^^^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int16Array : Int16ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + typedArrays[3] = Uint16Array.from(obj); +>typedArrays[3] = Uint16Array.from(obj) : Uint16Array +> : ^^^^^^^^^^^ +>typedArrays[3] : any +>typedArrays : any[] +> : ^^^^^ +>3 : 3 +> : ^ +>Uint16Array.from(obj) : Uint16Array +> : ^^^^^^^^^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array : Uint16ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + typedArrays[4] = Int32Array.from(obj); +>typedArrays[4] = Int32Array.from(obj) : Int32Array +> : ^^^^^^^^^^ +>typedArrays[4] : any +>typedArrays : any[] +> : ^^^^^ +>4 : 4 +> : ^ +>Int32Array.from(obj) : Int32Array +> : ^^^^^^^^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int32Array : Int32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + typedArrays[5] = Uint32Array.from(obj); +>typedArrays[5] = Uint32Array.from(obj) : Uint32Array +> : ^^^^^^^^^^^ +>typedArrays[5] : any +>typedArrays : any[] +> : ^^^^^ +>5 : 5 +> : ^ +>Uint32Array.from(obj) : Uint32Array +> : ^^^^^^^^^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array : Uint32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + typedArrays[6] = Float32Array.from(obj); +>typedArrays[6] = Float32Array.from(obj) : Float32Array +> : ^^^^^^^^^^^^ +>typedArrays[6] : any +>typedArrays : any[] +> : ^^^^^ +>6 : 6 +> : ^ +>Float32Array.from(obj) : Float32Array +> : ^^^^^^^^^^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Float32Array : Float32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + typedArrays[7] = Float64Array.from(obj); +>typedArrays[7] = Float64Array.from(obj) : Float64Array +> : ^^^^^^^^^^^^ +>typedArrays[7] : any +>typedArrays : any[] +> : ^^^^^ +>7 : 7 +> : ^ +>Float64Array.from(obj) : Float64Array +> : ^^^^^^^^^^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Float64Array : Float64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + typedArrays[8] = Uint8ClampedArray.from(obj); +>typedArrays[8] = Uint8ClampedArray.from(obj) : Uint8ClampedArray +> : ^^^^^^^^^^^^^^^^^ +>typedArrays[8] : any +>typedArrays : any[] +> : ^^^^^ +>8 : 8 +> : ^ +>Uint8ClampedArray.from(obj) : Uint8ClampedArray +> : ^^^^^^^^^^^^^^^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray : Uint8ClampedArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ + + return typedArrays; +>typedArrays : any[] +> : ^^^^^ +} + +function CreateTypedArraysFromMappedIterable(obj:Iterable, mapFn: (n:number, v:number)=> number) { +>CreateTypedArraysFromMappedIterable : (obj: Iterable, mapFn: (n: number, v: number) => number) => any[] +> : ^ ^^ ^^ ^^ ^^^^^^^^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ +>n : number +> : ^^^^^^ +>v : number +> : ^^^^^^ + + var typedArrays = []; +>typedArrays : any[] +> : ^^^^^ +>[] : undefined[] +> : ^^^^^^^^^^^ + + typedArrays[0] = Int8Array.from(obj, mapFn); +>typedArrays[0] = Int8Array.from(obj, mapFn) : Int8Array +> : ^^^^^^^^^ +>typedArrays[0] : any +>typedArrays : any[] +> : ^^^^^ +>0 : 0 +> : ^ +>Int8Array.from(obj, mapFn) : Int8Array +> : ^^^^^^^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int8Array : Int8ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[1] = Uint8Array.from(obj, mapFn); +>typedArrays[1] = Uint8Array.from(obj, mapFn) : Uint8Array +> : ^^^^^^^^^^ +>typedArrays[1] : any +>typedArrays : any[] +> : ^^^^^ +>1 : 1 +> : ^ +>Uint8Array.from(obj, mapFn) : Uint8Array +> : ^^^^^^^^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array : Uint8ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[2] = Int16Array.from(obj, mapFn); +>typedArrays[2] = Int16Array.from(obj, mapFn) : Int16Array +> : ^^^^^^^^^^ +>typedArrays[2] : any +>typedArrays : any[] +> : ^^^^^ +>2 : 2 +> : ^ +>Int16Array.from(obj, mapFn) : Int16Array +> : ^^^^^^^^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int16Array : Int16ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[3] = Uint16Array.from(obj, mapFn); +>typedArrays[3] = Uint16Array.from(obj, mapFn) : Uint16Array +> : ^^^^^^^^^^^ +>typedArrays[3] : any +>typedArrays : any[] +> : ^^^^^ +>3 : 3 +> : ^ +>Uint16Array.from(obj, mapFn) : Uint16Array +> : ^^^^^^^^^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array : Uint16ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[4] = Int32Array.from(obj, mapFn); +>typedArrays[4] = Int32Array.from(obj, mapFn) : Int32Array +> : ^^^^^^^^^^ +>typedArrays[4] : any +>typedArrays : any[] +> : ^^^^^ +>4 : 4 +> : ^ +>Int32Array.from(obj, mapFn) : Int32Array +> : ^^^^^^^^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int32Array : Int32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[5] = Uint32Array.from(obj, mapFn); +>typedArrays[5] = Uint32Array.from(obj, mapFn) : Uint32Array +> : ^^^^^^^^^^^ +>typedArrays[5] : any +>typedArrays : any[] +> : ^^^^^ +>5 : 5 +> : ^ +>Uint32Array.from(obj, mapFn) : Uint32Array +> : ^^^^^^^^^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array : Uint32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[6] = Float32Array.from(obj, mapFn); +>typedArrays[6] = Float32Array.from(obj, mapFn) : Float32Array +> : ^^^^^^^^^^^^ +>typedArrays[6] : any +>typedArrays : any[] +> : ^^^^^ +>6 : 6 +> : ^ +>Float32Array.from(obj, mapFn) : Float32Array +> : ^^^^^^^^^^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Float32Array : Float32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[7] = Float64Array.from(obj, mapFn); +>typedArrays[7] = Float64Array.from(obj, mapFn) : Float64Array +> : ^^^^^^^^^^^^ +>typedArrays[7] : any +>typedArrays : any[] +> : ^^^^^ +>7 : 7 +> : ^ +>Float64Array.from(obj, mapFn) : Float64Array +> : ^^^^^^^^^^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Float64Array : Float64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); +>typedArrays[8] = Uint8ClampedArray.from(obj, mapFn) : Uint8ClampedArray +> : ^^^^^^^^^^^^^^^^^ +>typedArrays[8] : any +>typedArrays : any[] +> : ^^^^^ +>8 : 8 +> : ^ +>Uint8ClampedArray.from(obj, mapFn) : Uint8ClampedArray +> : ^^^^^^^^^^^^^^^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray : Uint8ClampedArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^^^^^^ +>mapFn : (n: number, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + return typedArrays; +>typedArrays : any[] +> : ^^^^^ +} + +function CreateTypedArraysFromMappedIterable2(obj:Iterable, mapFn: (n:T, v:number)=> number) { +>CreateTypedArraysFromMappedIterable2 : (obj: Iterable, mapFn: (n: T, v: number) => number) => any[] +> : ^ ^^ ^^ ^^ ^^ ^^^^^^^^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ +>n : T +> : ^ +>v : number +> : ^^^^^^ + + var typedArrays = []; +>typedArrays : any[] +> : ^^^^^ +>[] : undefined[] +> : ^^^^^^^^^^^ + + typedArrays[0] = Int8Array.from(obj, mapFn); +>typedArrays[0] = Int8Array.from(obj, mapFn) : Int8Array +> : ^^^^^^^^^ +>typedArrays[0] : any +>typedArrays : any[] +> : ^^^^^ +>0 : 0 +> : ^ +>Int8Array.from(obj, mapFn) : Int8Array +> : ^^^^^^^^^ +>Int8Array.from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int8Array : Int8ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable): Int8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[1] = Uint8Array.from(obj, mapFn); +>typedArrays[1] = Uint8Array.from(obj, mapFn) : Uint8Array +> : ^^^^^^^^^^ +>typedArrays[1] : any +>typedArrays : any[] +> : ^^^^^ +>1 : 1 +> : ^ +>Uint8Array.from(obj, mapFn) : Uint8Array +> : ^^^^^^^^^^ +>Uint8Array.from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint8Array : Uint8ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint8Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable): Uint8Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[2] = Int16Array.from(obj, mapFn); +>typedArrays[2] = Int16Array.from(obj, mapFn) : Int16Array +> : ^^^^^^^^^^ +>typedArrays[2] : any +>typedArrays : any[] +> : ^^^^^ +>2 : 2 +> : ^ +>Int16Array.from(obj, mapFn) : Int16Array +> : ^^^^^^^^^^ +>Int16Array.from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int16Array : Int16ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable): Int16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[3] = Uint16Array.from(obj, mapFn); +>typedArrays[3] = Uint16Array.from(obj, mapFn) : Uint16Array +> : ^^^^^^^^^^^ +>typedArrays[3] : any +>typedArrays : any[] +> : ^^^^^ +>3 : 3 +> : ^ +>Uint16Array.from(obj, mapFn) : Uint16Array +> : ^^^^^^^^^^^ +>Uint16Array.from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint16Array : Uint16ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint16Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable): Uint16Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint16Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[4] = Int32Array.from(obj, mapFn); +>typedArrays[4] = Int32Array.from(obj, mapFn) : Int32Array +> : ^^^^^^^^^^ +>typedArrays[4] : any +>typedArrays : any[] +> : ^^^^^ +>4 : 4 +> : ^ +>Int32Array.from(obj, mapFn) : Int32Array +> : ^^^^^^^^^^ +>Int32Array.from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Int32Array : Int32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Int32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable): Int32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Int32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[5] = Uint32Array.from(obj, mapFn); +>typedArrays[5] = Uint32Array.from(obj, mapFn) : Uint32Array +> : ^^^^^^^^^^^ +>typedArrays[5] : any +>typedArrays : any[] +> : ^^^^^ +>5 : 5 +> : ^ +>Uint32Array.from(obj, mapFn) : Uint32Array +> : ^^^^^^^^^^^ +>Uint32Array.from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint32Array : Uint32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable): Uint32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[6] = Float32Array.from(obj, mapFn); +>typedArrays[6] = Float32Array.from(obj, mapFn) : Float32Array +> : ^^^^^^^^^^^^ +>typedArrays[6] : any +>typedArrays : any[] +> : ^^^^^ +>6 : 6 +> : ^ +>Float32Array.from(obj, mapFn) : Float32Array +> : ^^^^^^^^^^^^ +>Float32Array.from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Float32Array : Float32ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Float32Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable): Float32Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float32Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[7] = Float64Array.from(obj, mapFn); +>typedArrays[7] = Float64Array.from(obj, mapFn) : Float64Array +> : ^^^^^^^^^^^^ +>typedArrays[7] : any +>typedArrays : any[] +> : ^^^^^ +>7 : 7 +> : ^ +>Float64Array.from(obj, mapFn) : Float64Array +> : ^^^^^^^^^^^^ +>Float64Array.from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Float64Array : Float64ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Float64Array; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable): Float64Array; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Float64Array; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); +>typedArrays[8] = Uint8ClampedArray.from(obj, mapFn) : Uint8ClampedArray +> : ^^^^^^^^^^^^^^^^^ +>typedArrays[8] : any +>typedArrays : any[] +> : ^^^^^ +>8 : 8 +> : ^ +>Uint8ClampedArray.from(obj, mapFn) : Uint8ClampedArray +> : ^^^^^^^^^^^^^^^^^ +>Uint8ClampedArray.from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>Uint8ClampedArray : Uint8ClampedArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>from : { (arrayLike: ArrayLike): Uint8ClampedArray; (arrayLike: ArrayLike, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (v: T_1, k: number) => number, thisArg?: any): Uint8ClampedArray; } +> : ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^^ ^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ +>obj : Iterable +> : ^^^^^^^^^^^ +>mapFn : (n: T, v: number) => number +> : ^ ^^ ^^ ^^ ^^^^^ + + return typedArrays; +>typedArrays : any[] +> : ^^^^^ +} diff --git a/tests/cases/compiler/bigintWithLib.ts b/tests/cases/compiler/bigintWithLib.ts index a4701496550e5..2740dbb4d2460 100644 --- a/tests/cases/compiler/bigintWithLib.ts +++ b/tests/cases/compiler/bigintWithLib.ts @@ -19,10 +19,18 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU let bigIntArray: BigInt64Array = new BigInt64Array(); bigIntArray = new BigInt64Array(10); bigIntArray = new BigInt64Array([1n, 2n, 3n]); +bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigIntArray = new BigInt64Array([1, 2, 3]); // should error +bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error bigIntArray = new BigInt64Array(new ArrayBuffer(80)); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +bigIntArray = BigInt64Array.from(['1', '2', '3']); // should error +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); let len: number = bigIntArray.length; bigIntArray.length = 10; // should error let arrayBufferLike: ArrayBufferView = bigIntArray; @@ -31,10 +39,18 @@ let arrayBufferLike: ArrayBufferView = bigIntArray; let bigUintArray: BigUint64Array = new BigUint64Array(); bigUintArray = new BigUint64Array(10); bigUintArray = new BigUint64Array([1n, 2n, 3n]); +bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigUintArray = new BigUint64Array([1, 2, 3]); // should error +bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); // should error bigUintArray = new BigUint64Array(new ArrayBuffer(80)); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +bigUintArray = BigUint64Array.from(['1', '2', '3']); // should error +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); len = bigIntArray.length; bigIntArray.length = 10; // should error arrayBufferLike = bigIntArray; diff --git a/tests/cases/compiler/bigintWithoutLib.ts b/tests/cases/compiler/bigintWithoutLib.ts index da5965e3e8e9a..2d44e3734dfb8 100644 --- a/tests/cases/compiler/bigintWithoutLib.ts +++ b/tests/cases/compiler/bigintWithoutLib.ts @@ -20,10 +20,20 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU let bigIntArray: BigInt64Array = new BigInt64Array(); bigIntArray = new BigInt64Array(10); bigIntArray = new BigInt64Array([1n, 2n, 3n]); +bigIntArray = new BigInt64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigIntArray = new BigInt64Array([1, 2, 3]); +bigIntArray = new BigInt64Array({0: 1, 1: 2, 2: 3, length: 3}); bigIntArray = new BigInt64Array(new ArrayBuffer(80)); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8); bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3); +bigIntArray = BigInt64Array.from([1n, 2n, 3n]); +bigIntArray = BigInt64Array.from([1n, 2n, 3n], n => n * 10n); +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +bigIntArray = BigInt64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}); +bigUintArray = BigUint64Array.from({0: 1n, 1: 2n, 2: 3n, length: 3}, n => n * 10n); +bigIntArray = BigInt64Array.from(['1', '2', '3']); +bigIntArray = BigInt64Array.from(['1', '2', '3'], s => BigInt(s)); let len: number = bigIntArray.length; bigIntArray.length = 10; let arrayBufferLike: ArrayBufferView = bigIntArray; @@ -32,10 +42,16 @@ let arrayBufferLike: ArrayBufferView = bigIntArray; let bigUintArray: BigUint64Array = new BigUint64Array(); bigUintArray = new BigUint64Array(10); bigUintArray = new BigUint64Array([1n, 2n, 3n]); +bigUintArray = new BigUint64Array({0: 1n, 1: 2n, 2: 3n, length: 3}); bigUintArray = new BigUint64Array([1, 2, 3]); +bigUintArray = new BigUint64Array({0: 1, 1: 2, 2: 3, length: 3}); bigUintArray = new BigUint64Array(new ArrayBuffer(80)); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8); bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3); +bigUintArray = BigUint64Array.from([1n, 2n, 3n]); +bigUintArray = BigUint64Array.from([1n, 2n, 3n], n => n * 10n); +bigUintArray = BigUint64Array.from(['1', '2', '3']); +bigUintArray = BigUint64Array.from(['1', '2', '3'], s => BigInt(s)); len = bigIntArray.length; bigIntArray.length = 10; arrayBufferLike = bigIntArray; diff --git a/tests/cases/compiler/typedArrays.ts b/tests/cases/compiler/typedArrays.ts index 591b00aadc683..318860f283dcc 100644 --- a/tests/cases/compiler/typedArrays.ts +++ b/tests/cases/compiler/typedArrays.ts @@ -162,5 +162,50 @@ function CreateTypedArraysFromThisObj2(obj:ArrayLike, mapFn: (n:T, v:numbe typedArrays[7] = Float64Array.from(obj, mapFn, thisArg); typedArrays[8] = Uint8ClampedArray.from(obj, mapFn, thisArg); + return typedArrays; +} + +function CreateTypedArraysFromIterable(obj:Iterable) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj); + typedArrays[1] = Uint8Array.from(obj); + typedArrays[2] = Int16Array.from(obj); + typedArrays[3] = Uint16Array.from(obj); + typedArrays[4] = Int32Array.from(obj); + typedArrays[5] = Uint32Array.from(obj); + typedArrays[6] = Float32Array.from(obj); + typedArrays[7] = Float64Array.from(obj); + typedArrays[8] = Uint8ClampedArray.from(obj); + + return typedArrays; +} + +function CreateTypedArraysFromMappedIterable(obj:Iterable, mapFn: (n:number, v:number)=> number) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj, mapFn); + typedArrays[1] = Uint8Array.from(obj, mapFn); + typedArrays[2] = Int16Array.from(obj, mapFn); + typedArrays[3] = Uint16Array.from(obj, mapFn); + typedArrays[4] = Int32Array.from(obj, mapFn); + typedArrays[5] = Uint32Array.from(obj, mapFn); + typedArrays[6] = Float32Array.from(obj, mapFn); + typedArrays[7] = Float64Array.from(obj, mapFn); + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); + + return typedArrays; +} + +function CreateTypedArraysFromMappedIterable2(obj:Iterable, mapFn: (n:T, v:number)=> number) { + var typedArrays = []; + typedArrays[0] = Int8Array.from(obj, mapFn); + typedArrays[1] = Uint8Array.from(obj, mapFn); + typedArrays[2] = Int16Array.from(obj, mapFn); + typedArrays[3] = Uint16Array.from(obj, mapFn); + typedArrays[4] = Int32Array.from(obj, mapFn); + typedArrays[5] = Uint32Array.from(obj, mapFn); + typedArrays[6] = Float32Array.from(obj, mapFn); + typedArrays[7] = Float64Array.from(obj, mapFn); + typedArrays[8] = Uint8ClampedArray.from(obj, mapFn); + return typedArrays; } \ No newline at end of file