Make typed arrays generic over ArrayBufferLike (#59417)

This commit is contained in:
Ron Buckton
2024-09-24 12:17:59 -04:00
committed by GitHub
parent fa0080f480
commit e5758ab8b1
63 changed files with 33167 additions and 3943 deletions

View File

@@ -542,38 +542,38 @@ interface StringConstructor {
raw(template: { raw: readonly string[] | ArrayLike<string>; }, ...substitutions: any[]): string;
}
interface Int8Array {
interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}
interface Uint8Array {
interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}
interface Uint8ClampedArray {
interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}
interface Int16Array {
interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}
interface Uint16Array {
interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}
interface Int32Array {
interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}
interface Uint32Array {
interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}
interface Float32Array {
interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}
interface Float64Array {
interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
}

View File

@@ -252,7 +252,7 @@ interface String {
[Symbol.iterator](): StringIterator<string>;
}
interface Int8Array {
interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -269,7 +269,7 @@ interface Int8Array {
}
interface Int8ArrayConstructor {
new (elements: Iterable<number>): Int8Array;
new (elements: Iterable<number>): Int8Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -277,10 +277,17 @@ interface Int8ArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array;
from(arrayLike: Iterable<number>): Int8Array<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int8Array<ArrayBuffer>;
}
interface Uint8Array {
interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -297,7 +304,7 @@ interface Uint8Array {
}
interface Uint8ArrayConstructor {
new (elements: Iterable<number>): Uint8Array;
new (elements: Iterable<number>): Uint8Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -305,10 +312,17 @@ interface Uint8ArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array;
from(arrayLike: Iterable<number>): Uint8Array<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
}
interface Uint8ClampedArray {
interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -327,7 +341,7 @@ interface Uint8ClampedArray {
}
interface Uint8ClampedArrayConstructor {
new (elements: Iterable<number>): Uint8ClampedArray;
new (elements: Iterable<number>): Uint8ClampedArray<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -335,10 +349,17 @@ interface Uint8ClampedArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray;
from(arrayLike: Iterable<number>): Uint8ClampedArray<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;
}
interface Int16Array {
interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -357,7 +378,7 @@ interface Int16Array {
}
interface Int16ArrayConstructor {
new (elements: Iterable<number>): Int16Array;
new (elements: Iterable<number>): Int16Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -365,10 +386,17 @@ interface Int16ArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array;
from(arrayLike: Iterable<number>): Int16Array<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int16Array<ArrayBuffer>;
}
interface Uint16Array {
interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -385,7 +413,7 @@ interface Uint16Array {
}
interface Uint16ArrayConstructor {
new (elements: Iterable<number>): Uint16Array;
new (elements: Iterable<number>): Uint16Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -393,10 +421,17 @@ interface Uint16ArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array;
from(arrayLike: Iterable<number>): Uint16Array<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint16Array<ArrayBuffer>;
}
interface Int32Array {
interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -413,7 +448,7 @@ interface Int32Array {
}
interface Int32ArrayConstructor {
new (elements: Iterable<number>): Int32Array;
new (elements: Iterable<number>): Int32Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -421,10 +456,17 @@ interface Int32ArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array;
from(arrayLike: Iterable<number>): Int32Array<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int32Array<ArrayBuffer>;
}
interface Uint32Array {
interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -441,7 +483,7 @@ interface Uint32Array {
}
interface Uint32ArrayConstructor {
new (elements: Iterable<number>): Uint32Array;
new (elements: Iterable<number>): Uint32Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -449,10 +491,17 @@ interface Uint32ArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array;
from(arrayLike: Iterable<number>): Uint32Array<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint32Array<ArrayBuffer>;
}
interface Float32Array {
interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -469,7 +518,7 @@ interface Float32Array {
}
interface Float32ArrayConstructor {
new (elements: Iterable<number>): Float32Array;
new (elements: Iterable<number>): Float32Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -477,10 +526,17 @@ interface Float32ArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array;
from(arrayLike: Iterable<number>): Float32Array<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float32Array<ArrayBuffer>;
}
interface Float64Array {
interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
[Symbol.iterator](): ArrayIterator<number>;
/**
* Returns an array of key, value pairs for every entry in the array
@@ -497,7 +553,7 @@ interface Float64Array {
}
interface Float64ArrayConstructor {
new (elements: Iterable<number>): Float64Array;
new (elements: Iterable<number>): Float64Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -505,5 +561,12 @@ interface Float64ArrayConstructor {
* @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<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array;
from(arrayLike: Iterable<number>): Float64Array<ArrayBuffer>;
/**
* 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<T>(arrayLike: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float64Array<ArrayBuffer>;
}

View File

@@ -254,43 +254,43 @@ interface ArrayBuffer {
readonly [Symbol.toStringTag]: string;
}
interface DataView {
interface DataView<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: string;
}
interface Int8Array {
interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Int8Array";
}
interface Uint8Array {
interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Uint8Array";
}
interface Uint8ClampedArray {
interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Uint8ClampedArray";
}
interface Int16Array {
interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Int16Array";
}
interface Uint16Array {
interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Uint16Array";
}
interface Int32Array {
interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Int32Array";
}
interface Uint32Array {
interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Uint32Array";
}
interface Float32Array {
interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Float32Array";
}
interface Float64Array {
interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
readonly [Symbol.toStringTag]: "Float64Array";
}

View File

@@ -16,7 +16,7 @@ interface ReadonlyArray<T> {
includes(searchElement: T, fromIndex?: number): boolean;
}
interface Int8Array {
interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
@@ -25,7 +25,7 @@ interface Int8Array {
includes(searchElement: number, fromIndex?: number): boolean;
}
interface Uint8Array {
interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
@@ -34,7 +34,7 @@ interface Uint8Array {
includes(searchElement: number, fromIndex?: number): boolean;
}
interface Uint8ClampedArray {
interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
@@ -43,7 +43,7 @@ interface Uint8ClampedArray {
includes(searchElement: number, fromIndex?: number): boolean;
}
interface Int16Array {
interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
@@ -52,7 +52,7 @@ interface Int16Array {
includes(searchElement: number, fromIndex?: number): boolean;
}
interface Uint16Array {
interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
@@ -61,7 +61,7 @@ interface Uint16Array {
includes(searchElement: number, fromIndex?: number): boolean;
}
interface Int32Array {
interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
@@ -70,7 +70,7 @@ interface Int32Array {
includes(searchElement: number, fromIndex?: number): boolean;
}
interface Uint32Array {
interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
@@ -79,7 +79,7 @@ interface Uint32Array {
includes(searchElement: number, fromIndex?: number): boolean;
}
interface Float32Array {
interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.
@@ -88,7 +88,7 @@ interface Float32Array {
includes(searchElement: number, fromIndex?: number): boolean;
}
interface Float64Array {
interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
* @param searchElement The element to search for.

View File

@@ -31,28 +31,28 @@ interface Atomics {
* Until this atomic operation completes, any other read or write operation against the array
* will block.
*/
add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
add(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
/**
* Stores the bitwise AND of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or
* write operation against the array will block.
*/
and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
and(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
/**
* Replaces the value at the given position in the array if the original value equals the given
* expected value, returning the original value. Until this atomic operation completes, any
* other read or write operation against the array will block.
*/
compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;
compareExchange(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, expectedValue: number, replacementValue: number): number;
/**
* Replaces the value at the given position in the array, returning the original value. Until
* this atomic operation completes, any other read or write operation against the array will
* block.
*/
exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
exchange(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
/**
* Returns a value indicating whether high-performance algorithms can use atomic operations
@@ -65,27 +65,27 @@ interface Atomics {
* Returns the value at the given position in the array. Until this atomic operation completes,
* any other read or write operation against the array will block.
*/
load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;
load(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number): number;
/**
* Stores the bitwise OR of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or write
* operation against the array will block.
*/
or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
or(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
/**
* Stores a value at the given position in the array, returning the new value. Until this
* atomic operation completes, any other read or write operation against the array will block.
*/
store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
store(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
/**
* Subtracts a value from the value at the given position in the array, returning the original
* value. Until this atomic operation completes, any other read or write operation against the
* array will block.
*/
sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
sub(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
/**
* If the value at the given position in the array is equal to the provided value, the current
@@ -93,23 +93,23 @@ interface Atomics {
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
* `"not-equal"`.
*/
wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
wait(typedArray: Int32Array<ArrayBufferLike>, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
/**
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
* number of agents that were awoken.
* @param typedArray A shared Int32Array.
* @param typedArray A shared Int32Array<ArrayBufferLike>.
* @param index The position in the typedArray to wake up on.
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
*/
notify(typedArray: Int32Array, index: number, count?: number): number;
notify(typedArray: Int32Array<ArrayBufferLike>, index: number, count?: number): number;
/**
* Stores the bitwise XOR of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or write
* operation against the array will block.
*/
xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
xor(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
readonly [Symbol.toStringTag]: "Atomics";
}

View File

@@ -1,35 +1,35 @@
interface Int8ArrayConstructor {
new (): Int8Array;
new (): Int8Array<ArrayBuffer>;
}
interface Uint8ArrayConstructor {
new (): Uint8Array;
new (): Uint8Array<ArrayBuffer>;
}
interface Uint8ClampedArrayConstructor {
new (): Uint8ClampedArray;
new (): Uint8ClampedArray<ArrayBuffer>;
}
interface Int16ArrayConstructor {
new (): Int16Array;
new (): Int16Array<ArrayBuffer>;
}
interface Uint16ArrayConstructor {
new (): Uint16Array;
new (): Uint16Array<ArrayBuffer>;
}
interface Int32ArrayConstructor {
new (): Int32Array;
new (): Int32Array<ArrayBuffer>;
}
interface Uint32ArrayConstructor {
new (): Uint32Array;
new (): Uint32Array<ArrayBuffer>;
}
interface Float32ArrayConstructor {
new (): Float32Array;
new (): Float32Array<ArrayBuffer>;
}
interface Float64ArrayConstructor {
new (): Float64Array;
new (): Float64Array<ArrayBuffer>;
}

View File

@@ -128,12 +128,12 @@ declare var BigInt: BigIntConstructor;
* A typed array of 64-bit signed integer values. The contents are initialized to 0. If the
* requested number of bytes could not be allocated, an exception is raised.
*/
interface BigInt64Array {
interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
/** The size in bytes of each element in the array. */
readonly BYTES_PER_ELEMENT: number;
/** The ArrayBuffer instance referenced by the array. */
readonly buffer: ArrayBufferLike;
readonly buffer: TArrayBuffer;
/** The length in bytes of the array. */
readonly byteLength: number;
@@ -163,7 +163,7 @@ interface BigInt64Array {
* @param thisArg An object to which the this keyword can refer in the predicate function.
* If thisArg is omitted, undefined is used as the this value.
*/
every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;
every(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean;
/**
* Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
@@ -182,7 +182,7 @@ interface BigInt64Array {
* @param thisArg An object to which the this keyword can refer in the predicate function.
* If thisArg is omitted, undefined is used as the this value.
*/
filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array;
filter(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => any, thisArg?: any): BigInt64Array<ArrayBuffer>;
/**
* Returns the value of the first element in the array where predicate is true, and undefined
@@ -193,7 +193,7 @@ interface BigInt64Array {
* @param thisArg If provided, it will be used as the this value for each invocation of
* predicate. If it is not provided, undefined is used instead.
*/
find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined;
find(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): bigint | undefined;
/**
* Returns the index of the first element in the array where predicate is true, and -1
@@ -204,7 +204,7 @@ interface BigInt64Array {
* @param thisArg If provided, it will be used as the this value for each invocation of
* predicate. If it is not provided, undefined is used instead.
*/
findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number;
findIndex(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): number;
/**
* Performs the specified action for each element in an array.
@@ -213,7 +213,7 @@ interface BigInt64Array {
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
* If thisArg is omitted, undefined is used as the this value.
*/
forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void;
forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => void, thisArg?: any): void;
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
@@ -259,7 +259,7 @@ interface BigInt64Array {
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
* If thisArg is omitted, undefined is used as the this value.
*/
map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array;
map(callbackfn: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;
/**
* Calls the specified callback function for all the elements in an array. The return value of
@@ -271,7 +271,7 @@ interface BigInt64Array {
* the accumulation. The first call to the callbackfn function provides this value as an argument
* instead of an array value.
*/
reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;
reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => bigint): bigint;
/**
* Calls the specified callback function for all the elements in an array. The return value of
@@ -283,7 +283,7 @@ interface BigInt64Array {
* the accumulation. The first call to the callbackfn function provides this value as an argument
* instead of an array value.
*/
reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;
reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U;
/**
* Calls the specified callback function for all the elements in an array, in descending order.
@@ -295,7 +295,7 @@ interface BigInt64Array {
* the accumulation. The first call to the callbackfn function provides this value as an
* argument instead of an array value.
*/
reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;
reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => bigint): bigint;
/**
* Calls the specified callback function for all the elements in an array, in descending order.
@@ -307,7 +307,7 @@ interface BigInt64Array {
* the accumulation. The first call to the callbackfn function provides this value as an argument
* instead of an array value.
*/
reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;
reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U;
/** Reverses the elements in the array. */
reverse(): this;
@@ -324,7 +324,7 @@ interface BigInt64Array {
* @param start The beginning of the specified portion of the array.
* @param end The end of the specified portion of the array.
*/
slice(start?: number, end?: number): BigInt64Array;
slice(start?: number, end?: number): BigInt64Array<ArrayBuffer>;
/**
* Determines whether the specified callback function returns true for any element of an array.
@@ -334,7 +334,7 @@ interface BigInt64Array {
* @param thisArg An object to which the this keyword can refer in the predicate function.
* If thisArg is omitted, undefined is used as the this value.
*/
some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;
some(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean;
/**
* Sorts the array.
@@ -348,7 +348,7 @@ interface BigInt64Array {
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin?: number, end?: number): BigInt64Array;
subarray(begin?: number, end?: number): BigInt64Array<TArrayBuffer>;
/** Converts the array to a string by using the current locale. */
toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
@@ -357,7 +357,7 @@ interface BigInt64Array {
toString(): string;
/** Returns the primitive value of the specified object. */
valueOf(): BigInt64Array;
valueOf(): BigInt64Array<TArrayBuffer>;
/** Yields each value in the array. */
values(): ArrayIterator<bigint>;
@@ -368,12 +368,11 @@ interface BigInt64Array {
[index: number]: bigint;
}
interface BigInt64ArrayConstructor {
readonly prototype: BigInt64Array;
new (length?: number): BigInt64Array;
new (array: Iterable<bigint>): BigInt64Array;
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;
readonly prototype: BigInt64Array<ArrayBufferLike>;
new (length?: number): BigInt64Array<ArrayBuffer>;
new (array: ArrayLike<bigint> | Iterable<bigint>): BigInt64Array<ArrayBuffer>;
new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<TArrayBuffer>;
/** The size in bytes of each element in the array. */
readonly BYTES_PER_ELEMENT: number;
@@ -382,7 +381,7 @@ interface BigInt64ArrayConstructor {
* Returns a new array from a set of elements.
* @param items A set of elements to include in the new array object.
*/
of(...items: bigint[]): BigInt64Array;
of(...items: bigint[]): BigInt64Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -390,22 +389,27 @@ interface BigInt64ArrayConstructor {
* @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<bigint>): BigInt64Array;
from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;
from(arrayLike: ArrayLike<bigint>): BigInt64Array<ArrayBuffer>;
/**
* 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<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;
}
declare var BigInt64Array: BigInt64ArrayConstructor;
/**
* A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the
* requested number of bytes could not be allocated, an exception is raised.
*/
interface BigUint64Array {
interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
/** The size in bytes of each element in the array. */
readonly BYTES_PER_ELEMENT: number;
/** The ArrayBuffer instance referenced by the array. */
readonly buffer: ArrayBufferLike;
readonly buffer: TArrayBuffer;
/** The length in bytes of the array. */
readonly byteLength: number;
@@ -435,7 +439,7 @@ interface BigUint64Array {
* @param thisArg An object to which the this keyword can refer in the predicate function.
* If thisArg is omitted, undefined is used as the this value.
*/
every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;
every(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean;
/**
* Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
@@ -454,7 +458,7 @@ interface BigUint64Array {
* @param thisArg An object to which the this keyword can refer in the predicate function.
* If thisArg is omitted, undefined is used as the this value.
*/
filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array;
filter(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => any, thisArg?: any): BigUint64Array<ArrayBuffer>;
/**
* Returns the value of the first element in the array where predicate is true, and undefined
@@ -465,7 +469,7 @@ interface BigUint64Array {
* @param thisArg If provided, it will be used as the this value for each invocation of
* predicate. If it is not provided, undefined is used instead.
*/
find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined;
find(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): bigint | undefined;
/**
* Returns the index of the first element in the array where predicate is true, and -1
@@ -476,7 +480,7 @@ interface BigUint64Array {
* @param thisArg If provided, it will be used as the this value for each invocation of
* predicate. If it is not provided, undefined is used instead.
*/
findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number;
findIndex(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): number;
/**
* Performs the specified action for each element in an array.
@@ -485,7 +489,7 @@ interface BigUint64Array {
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
* If thisArg is omitted, undefined is used as the this value.
*/
forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void;
forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => void, thisArg?: any): void;
/**
* Determines whether an array includes a certain element, returning true or false as appropriate.
@@ -531,7 +535,7 @@ interface BigUint64Array {
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
* If thisArg is omitted, undefined is used as the this value.
*/
map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array;
map(callbackfn: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;
/**
* Calls the specified callback function for all the elements in an array. The return value of
@@ -543,7 +547,7 @@ interface BigUint64Array {
* the accumulation. The first call to the callbackfn function provides this value as an argument
* instead of an array value.
*/
reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;
reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => bigint): bigint;
/**
* Calls the specified callback function for all the elements in an array. The return value of
@@ -555,7 +559,7 @@ interface BigUint64Array {
* the accumulation. The first call to the callbackfn function provides this value as an argument
* instead of an array value.
*/
reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;
reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U;
/**
* Calls the specified callback function for all the elements in an array, in descending order.
@@ -567,7 +571,7 @@ interface BigUint64Array {
* the accumulation. The first call to the callbackfn function provides this value as an
* argument instead of an array value.
*/
reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;
reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => bigint): bigint;
/**
* Calls the specified callback function for all the elements in an array, in descending order.
@@ -579,7 +583,7 @@ interface BigUint64Array {
* the accumulation. The first call to the callbackfn function provides this value as an argument
* instead of an array value.
*/
reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;
reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U;
/** Reverses the elements in the array. */
reverse(): this;
@@ -596,7 +600,7 @@ interface BigUint64Array {
* @param start The beginning of the specified portion of the array.
* @param end The end of the specified portion of the array.
*/
slice(start?: number, end?: number): BigUint64Array;
slice(start?: number, end?: number): BigUint64Array<ArrayBuffer>;
/**
* Determines whether the specified callback function returns true for any element of an array.
@@ -606,7 +610,7 @@ interface BigUint64Array {
* @param thisArg An object to which the this keyword can refer in the predicate function.
* If thisArg is omitted, undefined is used as the this value.
*/
some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;
some(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean;
/**
* Sorts the array.
@@ -620,7 +624,7 @@ interface BigUint64Array {
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin?: number, end?: number): BigUint64Array;
subarray(begin?: number, end?: number): BigUint64Array<TArrayBuffer>;
/** Converts the array to a string by using the current locale. */
toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
@@ -629,7 +633,7 @@ interface BigUint64Array {
toString(): string;
/** Returns the primitive value of the specified object. */
valueOf(): BigUint64Array;
valueOf(): BigUint64Array<TArrayBuffer>;
/** Yields each value in the array. */
values(): ArrayIterator<bigint>;
@@ -640,12 +644,11 @@ interface BigUint64Array {
[index: number]: bigint;
}
interface BigUint64ArrayConstructor {
readonly prototype: BigUint64Array;
new (length?: number): BigUint64Array;
new (array: Iterable<bigint>): BigUint64Array;
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;
readonly prototype: BigUint64Array<ArrayBufferLike>;
new (length?: number): BigUint64Array<ArrayBuffer>;
new (array: ArrayLike<bigint> | Iterable<bigint>): BigUint64Array<ArrayBuffer>;
new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<TArrayBuffer>;
/** The size in bytes of each element in the array. */
readonly BYTES_PER_ELEMENT: number;
@@ -654,7 +657,7 @@ interface BigUint64ArrayConstructor {
* Returns a new array from a set of elements.
* @param items A set of elements to include in the new array object.
*/
of(...items: bigint[]): BigUint64Array;
of(...items: bigint[]): BigUint64Array<ArrayBuffer>;
/**
* Creates an array from an array-like or iterable object.
@@ -665,10 +668,9 @@ interface BigUint64ArrayConstructor {
from(arrayLike: ArrayLike<bigint>): BigUint64Array;
from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array;
}
declare var BigUint64Array: BigUint64ArrayConstructor;
interface DataView {
interface DataView<TArrayBuffer extends ArrayBufferLike> {
/**
* Gets the BigInt64 value at the specified byte offset from the start of the view. There is
* no alignment constraint; multi-byte values may be fetched from any offset.

View File

@@ -4,54 +4,54 @@ interface Atomics {
* Until this atomic operation completes, any other read or write operation against the array
* will block.
*/
add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
add(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
/**
* Stores the bitwise AND of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or
* write operation against the array will block.
*/
and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
and(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
/**
* Replaces the value at the given position in the array if the original value equals the given
* expected value, returning the original value. Until this atomic operation completes, any
* other read or write operation against the array will block.
*/
compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, replacementValue: bigint): bigint;
compareExchange(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, expectedValue: bigint, replacementValue: bigint): bigint;
/**
* Replaces the value at the given position in the array, returning the original value. Until
* this atomic operation completes, any other read or write operation against the array will
* block.
*/
exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
exchange(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
/**
* Returns the value at the given position in the array. Until this atomic operation completes,
* any other read or write operation against the array will block.
*/
load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint;
load(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number): bigint;
/**
* Stores the bitwise OR of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or write
* operation against the array will block.
*/
or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
or(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
/**
* Stores a value at the given position in the array, returning the new value. Until this
* atomic operation completes, any other read or write operation against the array will block.
*/
store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
store(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
/**
* Subtracts a value from the value at the given position in the array, returning the original
* value. Until this atomic operation completes, any other read or write operation against the
* array will block.
*/
sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
sub(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
/**
* If the value at the given position in the array is equal to the provided value, the current
@@ -59,7 +59,7 @@ interface Atomics {
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
* `"not-equal"`.
*/
wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out";
wait(typedArray: BigInt64Array<ArrayBufferLike>, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out";
/**
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
@@ -68,12 +68,12 @@ interface Atomics {
* @param index The position in the typedArray to wake up on.
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
*/
notify(typedArray: BigInt64Array, index: number, count?: number): number;
notify(typedArray: BigInt64Array<ArrayBufferLike>, index: number, count?: number): number;
/**
* Stores the bitwise XOR of a value with the value at the given position in the array,
* returning the original value. Until this atomic operation completes, any other read or write
* operation against the array will block.
*/
xor(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint;
xor(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
}

View File

@@ -14,7 +14,7 @@ interface ReadonlyArray<T> {
at(index: number): T | undefined;
}
interface Int8Array {
interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -22,7 +22,7 @@ interface Int8Array {
at(index: number): number | undefined;
}
interface Uint8Array {
interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -30,7 +30,7 @@ interface Uint8Array {
at(index: number): number | undefined;
}
interface Uint8ClampedArray {
interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -38,7 +38,7 @@ interface Uint8ClampedArray {
at(index: number): number | undefined;
}
interface Int16Array {
interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -46,7 +46,7 @@ interface Int16Array {
at(index: number): number | undefined;
}
interface Uint16Array {
interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -54,7 +54,7 @@ interface Uint16Array {
at(index: number): number | undefined;
}
interface Int32Array {
interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -62,7 +62,7 @@ interface Int32Array {
at(index: number): number | undefined;
}
interface Uint32Array {
interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -70,7 +70,7 @@ interface Uint32Array {
at(index: number): number | undefined;
}
interface Float32Array {
interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -78,7 +78,7 @@ interface Float32Array {
at(index: number): number | undefined;
}
interface Float64Array {
interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -86,7 +86,7 @@ interface Float64Array {
at(index: number): number | undefined;
}
interface BigInt64Array {
interface BigInt64Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
@@ -94,7 +94,7 @@ interface BigInt64Array {
at(index: number): bigint | undefined;
}
interface BigUint64Array {
interface BigUint64Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the item located at the specified index.
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.

View File

@@ -145,7 +145,7 @@ interface ReadonlyArray<T> {
with(index: number, value: T): T[];
}
interface Int8Array {
interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -159,12 +159,12 @@ interface Int8Array {
predicate: (
value: number,
index: number,
array: Int8Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
findLast(
predicate: (value: number, index: number, array: Int8Array) => unknown,
predicate: (value: number, index: number, array: this) => unknown,
thisArg?: any,
): number | undefined;
@@ -178,14 +178,14 @@ interface Int8Array {
* predicate. If it is not provided, undefined is used instead.
*/
findLastIndex(
predicate: (value: number, index: number, array: Int8Array) => unknown,
predicate: (value: number, index: number, array: this) => unknown,
thisArg?: any,
): number;
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Int8Array;
toReversed(): Int8Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -193,11 +193,11 @@ interface Int8Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Int8Array.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Int8Array(4) [1, 2, 11, 22]
* const myNums = Int8Array<Buffer>.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Int8Array<Buffer>(4) [1, 2, 11, 22]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Int8Array;
toSorted(compareFn?: (a: number, b: number) => number): Int8Array<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -206,10 +206,10 @@ interface Int8Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Int8Array;
with(index: number, value: number): Int8Array<ArrayBuffer>;
}
interface Uint8Array {
interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -223,12 +223,12 @@ interface Uint8Array {
predicate: (
value: number,
index: number,
array: Uint8Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
findLast(
predicate: (value: number, index: number, array: Uint8Array) => unknown,
predicate: (value: number, index: number, array: this) => unknown,
thisArg?: any,
): number | undefined;
@@ -242,14 +242,14 @@ interface Uint8Array {
* predicate. If it is not provided, undefined is used instead.
*/
findLastIndex(
predicate: (value: number, index: number, array: Uint8Array) => unknown,
predicate: (value: number, index: number, array: this) => unknown,
thisArg?: any,
): number;
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Uint8Array;
toReversed(): Uint8Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -257,11 +257,11 @@ interface Uint8Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Uint8Array.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
* const myNums = Uint8Array<Buffer>.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint8Array<Buffer>(4) [1, 2, 11, 22]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Uint8Array;
toSorted(compareFn?: (a: number, b: number) => number): Uint8Array<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -270,10 +270,10 @@ interface Uint8Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Uint8Array;
with(index: number, value: number): Uint8Array<ArrayBuffer>;
}
interface Uint8ClampedArray {
interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -287,7 +287,7 @@ interface Uint8ClampedArray {
predicate: (
value: number,
index: number,
array: Uint8ClampedArray,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
@@ -295,7 +295,7 @@ interface Uint8ClampedArray {
predicate: (
value: number,
index: number,
array: Uint8ClampedArray,
array: this,
) => unknown,
thisArg?: any,
): number | undefined;
@@ -313,7 +313,7 @@ interface Uint8ClampedArray {
predicate: (
value: number,
index: number,
array: Uint8ClampedArray,
array: this,
) => unknown,
thisArg?: any,
): number;
@@ -321,7 +321,7 @@ interface Uint8ClampedArray {
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Uint8ClampedArray;
toReversed(): Uint8ClampedArray<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -329,11 +329,11 @@ interface Uint8ClampedArray {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Uint8ClampedArray.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint8ClampedArray(4) [1, 2, 11, 22]
* const myNums = Uint8ClampedArray<Buffer>.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint8ClampedArray<Buffer>(4) [1, 2, 11, 22]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray;
toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -342,10 +342,10 @@ interface Uint8ClampedArray {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Uint8ClampedArray;
with(index: number, value: number): Uint8ClampedArray<ArrayBuffer>;
}
interface Int16Array {
interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -359,12 +359,12 @@ interface Int16Array {
predicate: (
value: number,
index: number,
array: Int16Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
findLast(
predicate: (value: number, index: number, array: Int16Array) => unknown,
predicate: (value: number, index: number, array: this) => unknown,
thisArg?: any,
): number | undefined;
@@ -378,14 +378,14 @@ interface Int16Array {
* predicate. If it is not provided, undefined is used instead.
*/
findLastIndex(
predicate: (value: number, index: number, array: Int16Array) => unknown,
predicate: (value: number, index: number, array: this) => unknown,
thisArg?: any,
): number;
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Int16Array;
toReversed(): Int16Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -393,11 +393,11 @@ interface Int16Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Int16Array.from([11, 2, -22, 1]);
* myNums.toSorted((a, b) => a - b) // Int16Array(4) [-22, 1, 2, 11]
* const myNums = Int16Array<Buffer>.from([11, 2, -22, 1]);
* myNums.toSorted((a, b) => a - b) // Int16Array<Buffer>(4) [-22, 1, 2, 11]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Int16Array;
toSorted(compareFn?: (a: number, b: number) => number): Int16Array<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -406,10 +406,10 @@ interface Int16Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Int16Array;
with(index: number, value: number): Int16Array<ArrayBuffer>;
}
interface Uint16Array {
interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -423,7 +423,7 @@ interface Uint16Array {
predicate: (
value: number,
index: number,
array: Uint16Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
@@ -431,7 +431,7 @@ interface Uint16Array {
predicate: (
value: number,
index: number,
array: Uint16Array,
array: this,
) => unknown,
thisArg?: any,
): number | undefined;
@@ -449,7 +449,7 @@ interface Uint16Array {
predicate: (
value: number,
index: number,
array: Uint16Array,
array: this,
) => unknown,
thisArg?: any,
): number;
@@ -457,7 +457,7 @@ interface Uint16Array {
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Uint16Array;
toReversed(): Uint16Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -465,11 +465,11 @@ interface Uint16Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Uint16Array.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint16Array(4) [1, 2, 11, 22]
* const myNums = Uint16Array<Buffer>.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint16Array<Buffer>(4) [1, 2, 11, 22]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Uint16Array;
toSorted(compareFn?: (a: number, b: number) => number): Uint16Array<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -478,10 +478,10 @@ interface Uint16Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Uint16Array;
with(index: number, value: number): Uint16Array<ArrayBuffer>;
}
interface Int32Array {
interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -495,12 +495,12 @@ interface Int32Array {
predicate: (
value: number,
index: number,
array: Int32Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
findLast(
predicate: (value: number, index: number, array: Int32Array) => unknown,
predicate: (value: number, index: number, array: this) => unknown,
thisArg?: any,
): number | undefined;
@@ -514,14 +514,14 @@ interface Int32Array {
* predicate. If it is not provided, undefined is used instead.
*/
findLastIndex(
predicate: (value: number, index: number, array: Int32Array) => unknown,
predicate: (value: number, index: number, array: this) => unknown,
thisArg?: any,
): number;
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Int32Array;
toReversed(): Int32Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -529,11 +529,11 @@ interface Int32Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Int32Array.from([11, 2, -22, 1]);
* myNums.toSorted((a, b) => a - b) // Int32Array(4) [-22, 1, 2, 11]
* const myNums = Int32Array<Buffer>.from([11, 2, -22, 1]);
* myNums.toSorted((a, b) => a - b) // Int32Array<Buffer>(4) [-22, 1, 2, 11]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Int32Array;
toSorted(compareFn?: (a: number, b: number) => number): Int32Array<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -542,10 +542,10 @@ interface Int32Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Int32Array;
with(index: number, value: number): Int32Array<ArrayBuffer>;
}
interface Uint32Array {
interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -559,7 +559,7 @@ interface Uint32Array {
predicate: (
value: number,
index: number,
array: Uint32Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
@@ -567,7 +567,7 @@ interface Uint32Array {
predicate: (
value: number,
index: number,
array: Uint32Array,
array: this,
) => unknown,
thisArg?: any,
): number | undefined;
@@ -585,7 +585,7 @@ interface Uint32Array {
predicate: (
value: number,
index: number,
array: Uint32Array,
array: this,
) => unknown,
thisArg?: any,
): number;
@@ -593,7 +593,7 @@ interface Uint32Array {
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Uint32Array;
toReversed(): Uint32Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -601,11 +601,11 @@ interface Uint32Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Uint32Array.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint32Array(4) [1, 2, 11, 22]
* const myNums = Uint32Array<Buffer>.from([11, 2, 22, 1]);
* myNums.toSorted((a, b) => a - b) // Uint32Array<Buffer>(4) [1, 2, 11, 22]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Uint32Array;
toSorted(compareFn?: (a: number, b: number) => number): Uint32Array<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -614,10 +614,10 @@ interface Uint32Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Uint32Array;
with(index: number, value: number): Uint32Array<ArrayBuffer>;
}
interface Float32Array {
interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -631,7 +631,7 @@ interface Float32Array {
predicate: (
value: number,
index: number,
array: Float32Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
@@ -639,7 +639,7 @@ interface Float32Array {
predicate: (
value: number,
index: number,
array: Float32Array,
array: this,
) => unknown,
thisArg?: any,
): number | undefined;
@@ -657,7 +657,7 @@ interface Float32Array {
predicate: (
value: number,
index: number,
array: Float32Array,
array: this,
) => unknown,
thisArg?: any,
): number;
@@ -665,7 +665,7 @@ interface Float32Array {
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Float32Array;
toReversed(): Float32Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -673,11 +673,11 @@ interface Float32Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Float32Array.from([11.25, 2, -22.5, 1]);
* myNums.toSorted((a, b) => a - b) // Float32Array(4) [-22.5, 1, 2, 11.5]
* const myNums = Float32Array<Buffer>.from([11.25, 2, -22.5, 1]);
* myNums.toSorted((a, b) => a - b) // Float32Array<Buffer>(4) [-22.5, 1, 2, 11.5]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Float32Array;
toSorted(compareFn?: (a: number, b: number) => number): Float32Array<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -686,10 +686,10 @@ interface Float32Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Float32Array;
with(index: number, value: number): Float32Array<ArrayBuffer>;
}
interface Float64Array {
interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -703,7 +703,7 @@ interface Float64Array {
predicate: (
value: number,
index: number,
array: Float64Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
@@ -711,7 +711,7 @@ interface Float64Array {
predicate: (
value: number,
index: number,
array: Float64Array,
array: this,
) => unknown,
thisArg?: any,
): number | undefined;
@@ -729,7 +729,7 @@ interface Float64Array {
predicate: (
value: number,
index: number,
array: Float64Array,
array: this,
) => unknown,
thisArg?: any,
): number;
@@ -737,7 +737,7 @@ interface Float64Array {
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): Float64Array;
toReversed(): Float64Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -745,11 +745,11 @@ interface Float64Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = Float64Array.from([11.25, 2, -22.5, 1]);
* myNums.toSorted((a, b) => a - b) // Float64Array(4) [-22.5, 1, 2, 11.5]
* const myNums = Float64Array<Buffer>.from([11.25, 2, -22.5, 1]);
* myNums.toSorted((a, b) => a - b) // Float64Array<Buffer>(4) [-22.5, 1, 2, 11.5]
* ```
*/
toSorted(compareFn?: (a: number, b: number) => number): Float64Array;
toSorted(compareFn?: (a: number, b: number) => number): Float64Array<ArrayBuffer>;
/**
* Copies the array and inserts the given number at the provided index.
@@ -758,10 +758,10 @@ interface Float64Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: number): Float64Array;
with(index: number, value: number): Float64Array<ArrayBuffer>;
}
interface BigInt64Array {
interface BigInt64Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -775,7 +775,7 @@ interface BigInt64Array {
predicate: (
value: bigint,
index: number,
array: BigInt64Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
@@ -783,7 +783,7 @@ interface BigInt64Array {
predicate: (
value: bigint,
index: number,
array: BigInt64Array,
array: this,
) => unknown,
thisArg?: any,
): bigint | undefined;
@@ -801,7 +801,7 @@ interface BigInt64Array {
predicate: (
value: bigint,
index: number,
array: BigInt64Array,
array: this,
) => unknown,
thisArg?: any,
): number;
@@ -809,7 +809,7 @@ interface BigInt64Array {
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): BigInt64Array;
toReversed(): BigInt64Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -817,11 +817,11 @@ interface BigInt64Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = BigInt64Array.from([11n, 2n, -22n, 1n]);
* myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array(4) [-22n, 1n, 2n, 11n]
* const myNums = BigInt64Array<Buffer>.from([11n, 2n, -22n, 1n]);
* myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array<Buffer>(4) [-22n, 1n, 2n, 11n]
* ```
*/
toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array;
toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array<ArrayBuffer>;
/**
* Copies the array and inserts the given bigint at the provided index.
@@ -830,10 +830,10 @@ interface BigInt64Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: bigint): BigInt64Array;
with(index: number, value: bigint): BigInt64Array<ArrayBuffer>;
}
interface BigUint64Array {
interface BigUint64Array<TArrayBuffer extends ArrayBufferLike> {
/**
* Returns the value of the last element in the array where predicate is true, and undefined
* otherwise.
@@ -847,7 +847,7 @@ interface BigUint64Array {
predicate: (
value: bigint,
index: number,
array: BigUint64Array,
array: this,
) => value is S,
thisArg?: any,
): S | undefined;
@@ -855,7 +855,7 @@ interface BigUint64Array {
predicate: (
value: bigint,
index: number,
array: BigUint64Array,
array: this,
) => unknown,
thisArg?: any,
): bigint | undefined;
@@ -873,7 +873,7 @@ interface BigUint64Array {
predicate: (
value: bigint,
index: number,
array: BigUint64Array,
array: this,
) => unknown,
thisArg?: any,
): number;
@@ -881,7 +881,7 @@ interface BigUint64Array {
/**
* Copies the array and returns the copy with the elements in reverse order.
*/
toReversed(): BigUint64Array;
toReversed(): BigUint64Array<ArrayBuffer>;
/**
* Copies and sorts the array.
@@ -889,11 +889,11 @@ interface BigUint64Array {
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
* value otherwise. If omitted, the elements are sorted in ascending order.
* ```ts
* const myNums = BigUint64Array.from([11n, 2n, 22n, 1n]);
* myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array(4) [1n, 2n, 11n, 22n]
* const myNums = BigUint64Array<Buffer>.from([11n, 2n, 22n, 1n]);
* myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array<Buffer>(4) [1n, 2n, 11n, 22n]
* ```
*/
toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array;
toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array<ArrayBuffer>;
/**
* Copies the array and inserts the given bigint at the provided index.
@@ -902,5 +902,5 @@ interface BigUint64Array {
* @param value The value to insert into the copied array.
* @returns A copy of the original array with the inserted value.
*/
with(index: number, value: bigint): BigUint64Array;
with(index: number, value: bigint): BigUint64Array<ArrayBuffer>;
}

502
src/lib/es5.d.ts vendored

File diff suppressed because it is too large Load Diff

View File

@@ -19,8 +19,8 @@ if (ArrayBuffer.isView(obj)) {
// isView should be a guard that narrows type to ArrayBufferView.
var ab: ArrayBufferView = obj;
>ab : ArrayBufferView
> : ^^^^^^^^^^^^^^^
>obj : ArrayBufferView
> : ^^^^^^^^^^^^^^^
>ab : ArrayBufferView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>obj : ArrayBufferView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
}

View File

@@ -248,10 +248,10 @@ str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: '
> : ^^^^^
const int8Array = new Int8Array(3);
>int8Array : Int8Array
> : ^^^^^^^^^
>new Int8Array(3) : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>new Int8Array(3) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -266,8 +266,8 @@ str = int8Array.toLocaleString(); // OK
> : ^^^^^^
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -280,8 +280,8 @@ str = int8Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -296,8 +296,8 @@ str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' });
> : ^^^^^^
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -314,10 +314,10 @@ str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' });
> : ^^^^^
const uint8Array = new Uint8Array(3);
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(3) : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array(3) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -332,8 +332,8 @@ str = uint8Array.toLocaleString(); // OK
> : ^^^^^^
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -346,8 +346,8 @@ str = uint8Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -362,8 +362,8 @@ str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -380,10 +380,10 @@ str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint8ClampedArray = new Uint8ClampedArray(3);
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(3) : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(3) : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -398,8 +398,8 @@ str = uint8ClampedArray.toLocaleString(); // OK
> : ^^^^^^
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -412,8 +412,8 @@ str = uint8ClampedArray.toLocaleString('en-US'); // OK
> : ^^^^^^
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -428,8 +428,8 @@ str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: '
> : ^^^^^^
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -446,10 +446,10 @@ str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: '
> : ^^^^^
const int16Array = new Int16Array(3);
>int16Array : Int16Array
> : ^^^^^^^^^^
>new Int16Array(3) : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int16Array(3) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -464,8 +464,8 @@ str = int16Array.toLocaleString(); // OK
> : ^^^^^^
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -478,8 +478,8 @@ str = int16Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -494,8 +494,8 @@ str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -512,10 +512,10 @@ str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint16Array = new Uint16Array(3);
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array(3) : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint16Array(3) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -530,8 +530,8 @@ str = uint16Array.toLocaleString(); // OK
> : ^^^^^^
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -544,8 +544,8 @@ str = uint16Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -560,8 +560,8 @@ str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^^
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -578,10 +578,10 @@ str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^
const int32Array = new Int32Array(3);
>int32Array : Int32Array
> : ^^^^^^^^^^
>new Int32Array(3) : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int32Array(3) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -596,8 +596,8 @@ str = int32Array.toLocaleString(); // OK
> : ^^^^^^
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -610,8 +610,8 @@ str = int32Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -626,8 +626,8 @@ str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -644,10 +644,10 @@ str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint32Array = new Uint32Array(3);
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array(3) : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint32Array(3) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -662,8 +662,8 @@ str = uint32Array.toLocaleString(); // OK
> : ^^^^^^
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -676,8 +676,8 @@ str = uint32Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -692,8 +692,8 @@ str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^^
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -710,10 +710,10 @@ str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^
const float32Array = new Float32Array(3);
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array(3) : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float32Array(3) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -728,8 +728,8 @@ str = float32Array.toLocaleString(); // OK
> : ^^^^^^
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -742,8 +742,8 @@ str = float32Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -758,8 +758,8 @@ str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^^
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -776,10 +776,10 @@ str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^
const float64Array = new Float64Array(3);
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array(3) : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float64Array(3) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -794,8 +794,8 @@ str = float64Array.toLocaleString(); // OK
> : ^^^^^^
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -808,8 +808,8 @@ str = float64Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -824,8 +824,8 @@ str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^^
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"

View File

@@ -312,10 +312,10 @@ str = bigInts.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); /
> : ^^^^^
const int8Array = new Int8Array(3);
>int8Array : Int8Array
> : ^^^^^^^^^
>new Int8Array(3) : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>new Int8Array(3) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -330,8 +330,8 @@ str = int8Array.toLocaleString(); // OK
> : ^^^^^^
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -344,8 +344,8 @@ str = int8Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -360,8 +360,8 @@ str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' });
> : ^^^^^^
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -378,10 +378,10 @@ str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' });
> : ^^^^^
const uint8Array = new Uint8Array(3);
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(3) : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array(3) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -396,8 +396,8 @@ str = uint8Array.toLocaleString(); // OK
> : ^^^^^^
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -410,8 +410,8 @@ str = uint8Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -426,8 +426,8 @@ str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -444,10 +444,10 @@ str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint8ClampedArray = new Uint8ClampedArray(3);
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(3) : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(3) : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -462,8 +462,8 @@ str = uint8ClampedArray.toLocaleString(); // OK
> : ^^^^^^
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -476,8 +476,8 @@ str = uint8ClampedArray.toLocaleString('en-US'); // OK
> : ^^^^^^
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -492,8 +492,8 @@ str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: '
> : ^^^^^^
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -510,10 +510,10 @@ str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: '
> : ^^^^^
const int16Array = new Int16Array(3);
>int16Array : Int16Array
> : ^^^^^^^^^^
>new Int16Array(3) : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int16Array(3) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -528,8 +528,8 @@ str = int16Array.toLocaleString(); // OK
> : ^^^^^^
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -542,8 +542,8 @@ str = int16Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -558,8 +558,8 @@ str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -576,10 +576,10 @@ str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint16Array = new Uint16Array(3);
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array(3) : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint16Array(3) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -594,8 +594,8 @@ str = uint16Array.toLocaleString(); // OK
> : ^^^^^^
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -608,8 +608,8 @@ str = uint16Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -624,8 +624,8 @@ str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^^
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -642,10 +642,10 @@ str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^
const int32Array = new Int32Array(3);
>int32Array : Int32Array
> : ^^^^^^^^^^
>new Int32Array(3) : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int32Array(3) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -660,8 +660,8 @@ str = int32Array.toLocaleString(); // OK
> : ^^^^^^
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -674,8 +674,8 @@ str = int32Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -690,8 +690,8 @@ str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -708,10 +708,10 @@ str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint32Array = new Uint32Array(3);
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array(3) : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint32Array(3) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -726,8 +726,8 @@ str = uint32Array.toLocaleString(); // OK
> : ^^^^^^
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -740,8 +740,8 @@ str = uint32Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -756,8 +756,8 @@ str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^^
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -774,10 +774,10 @@ str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^
const float32Array = new Float32Array(3);
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array(3) : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float32Array(3) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -792,8 +792,8 @@ str = float32Array.toLocaleString(); // OK
> : ^^^^^^
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -806,8 +806,8 @@ str = float32Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -822,8 +822,8 @@ str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^^
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -840,10 +840,10 @@ str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^
const float64Array = new Float64Array(3);
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array(3) : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float64Array(3) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -858,8 +858,8 @@ str = float64Array.toLocaleString(); // OK
> : ^^^^^^
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
@@ -872,8 +872,8 @@ str = float64Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -888,8 +888,8 @@ str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^^
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^
>'en-US' : "en-US"
@@ -906,10 +906,10 @@ str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^
const bigInt64Array = new BigInt64Array(3);
>bigInt64Array : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array(3) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigInt64Array : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array(3) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -924,8 +924,8 @@ str = bigInt64Array.toLocaleString(); // OK
> : ^^^^^^
>bigInt64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>bigInt64Array : BigInt64Array
> : ^^^^^^^^^^^^^
>bigInt64Array : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
@@ -938,8 +938,8 @@ str = bigInt64Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>bigInt64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>bigInt64Array : BigInt64Array
> : ^^^^^^^^^^^^^
>bigInt64Array : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>'en-US' : "en-US"
@@ -954,8 +954,8 @@ str = bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^^
>bigInt64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>bigInt64Array : BigInt64Array
> : ^^^^^^^^^^^^^
>bigInt64Array : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>'en-US' : "en-US"
@@ -972,10 +972,10 @@ str = bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^
const bigIntUint64Array = new BigUint64Array(3);
>bigIntUint64Array : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array(3) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigIntUint64Array : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array(3) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -990,8 +990,8 @@ str = bigIntUint64Array.toLocaleString(); // OK
> : ^^^^^^
>bigIntUint64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>bigIntUint64Array : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigIntUint64Array : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
@@ -1004,8 +1004,8 @@ str = bigIntUint64Array.toLocaleString('en-US'); // OK
> : ^^^^^^
>bigIntUint64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>bigIntUint64Array : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigIntUint64Array : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>'en-US' : "en-US"
@@ -1020,8 +1020,8 @@ str = bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: '
> : ^^^^^^
>bigIntUint64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>bigIntUint64Array : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigIntUint64Array : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
> : ^ ^^^ ^^ ^^^ ^^^^^
>'en-US' : "en-US"

View File

@@ -140,10 +140,10 @@ str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // should be error
> : ^^^^^
const int8Array = new Int8Array(3);
>int8Array : Int8Array
> : ^^^^^^^^^
>new Int8Array(3) : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>new Int8Array(3) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -158,8 +158,8 @@ str = int8Array.toLocaleString(); // OK
> : ^^^^^^
>int8Array.toLocaleString : () => string
> : ^^^^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -172,8 +172,8 @@ str = int8Array.toLocaleString('en-US'); // should be error
> : ^^^^^^
>int8Array.toLocaleString : () => string
> : ^^^^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -188,8 +188,8 @@ str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' });
> : ^^^^^^
>int8Array.toLocaleString : () => string
> : ^^^^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -206,10 +206,10 @@ str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' });
> : ^^^^^
const uint8Array = new Uint8Array(3);
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(3) : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array(3) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -224,8 +224,8 @@ str = uint8Array.toLocaleString(); // OK
> : ^^^^^^
>uint8Array.toLocaleString : () => string
> : ^^^^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -238,8 +238,8 @@ str = uint8Array.toLocaleString('en-US'); // should be error
> : ^^^^^^
>uint8Array.toLocaleString : () => string
> : ^^^^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -254,8 +254,8 @@ str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>uint8Array.toLocaleString : () => string
> : ^^^^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -272,10 +272,10 @@ str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint8ClampedArray = new Uint8ClampedArray(3);
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(3) : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(3) : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -290,8 +290,8 @@ str = uint8ClampedArray.toLocaleString(); // OK
> : ^^^^^^
>uint8ClampedArray.toLocaleString : () => string
> : ^^^^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -304,8 +304,8 @@ str = uint8ClampedArray.toLocaleString('en-US'); // should be error
> : ^^^^^^
>uint8ClampedArray.toLocaleString : () => string
> : ^^^^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -320,8 +320,8 @@ str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: '
> : ^^^^^^
>uint8ClampedArray.toLocaleString : () => string
> : ^^^^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -338,10 +338,10 @@ str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: '
> : ^^^^^
const int16Array = new Int16Array(3);
>int16Array : Int16Array
> : ^^^^^^^^^^
>new Int16Array(3) : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int16Array(3) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -356,8 +356,8 @@ str = int16Array.toLocaleString(); // OK
> : ^^^^^^
>int16Array.toLocaleString : () => string
> : ^^^^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -370,8 +370,8 @@ str = int16Array.toLocaleString('en-US'); // should be error
> : ^^^^^^
>int16Array.toLocaleString : () => string
> : ^^^^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -386,8 +386,8 @@ str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>int16Array.toLocaleString : () => string
> : ^^^^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -404,10 +404,10 @@ str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint16Array = new Uint16Array(3);
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array(3) : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint16Array(3) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -422,8 +422,8 @@ str = uint16Array.toLocaleString(); // OK
> : ^^^^^^
>uint16Array.toLocaleString : () => string
> : ^^^^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -436,8 +436,8 @@ str = uint16Array.toLocaleString('en-US'); // should be error
> : ^^^^^^
>uint16Array.toLocaleString : () => string
> : ^^^^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -452,8 +452,8 @@ str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^^
>uint16Array.toLocaleString : () => string
> : ^^^^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -470,10 +470,10 @@ str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^
const int32Array = new Int32Array(3);
>int32Array : Int32Array
> : ^^^^^^^^^^
>new Int32Array(3) : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int32Array(3) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -488,8 +488,8 @@ str = int32Array.toLocaleString(); // OK
> : ^^^^^^
>int32Array.toLocaleString : () => string
> : ^^^^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -502,8 +502,8 @@ str = int32Array.toLocaleString('en-US'); // should be error
> : ^^^^^^
>int32Array.toLocaleString : () => string
> : ^^^^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -518,8 +518,8 @@ str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^^
>int32Array.toLocaleString : () => string
> : ^^^^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -536,10 +536,10 @@ str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' })
> : ^^^^^
const uint32Array = new Uint32Array(3);
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array(3) : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint32Array(3) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -554,8 +554,8 @@ str = uint32Array.toLocaleString(); // OK
> : ^^^^^^
>uint32Array.toLocaleString : () => string
> : ^^^^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -568,8 +568,8 @@ str = uint32Array.toLocaleString('en-US'); // should be error
> : ^^^^^^
>uint32Array.toLocaleString : () => string
> : ^^^^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -584,8 +584,8 @@ str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^^
>uint32Array.toLocaleString : () => string
> : ^^^^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -602,10 +602,10 @@ str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }
> : ^^^^^
const float32Array = new Float32Array(3);
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array(3) : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float32Array(3) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -620,8 +620,8 @@ str = float32Array.toLocaleString(); // OK
> : ^^^^^^
>float32Array.toLocaleString : () => string
> : ^^^^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -634,8 +634,8 @@ str = float32Array.toLocaleString('en-US'); // should be error
> : ^^^^^^
>float32Array.toLocaleString : () => string
> : ^^^^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -650,8 +650,8 @@ str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^^
>float32Array.toLocaleString : () => string
> : ^^^^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -668,10 +668,10 @@ str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^
const float64Array = new Float64Array(3);
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array(3) : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float64Array(3) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -686,8 +686,8 @@ str = float64Array.toLocaleString(); // OK
> : ^^^^^^
>float64Array.toLocaleString : () => string
> : ^^^^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
@@ -700,8 +700,8 @@ str = float64Array.toLocaleString('en-US'); // should be error
> : ^^^^^^
>float64Array.toLocaleString : () => string
> : ^^^^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"
@@ -716,8 +716,8 @@ str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR'
> : ^^^^^^
>float64Array.toLocaleString : () => string
> : ^^^^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>toLocaleString : () => string
> : ^^^^^^
>'en-US' : "en-US"

View File

@@ -6,46 +6,46 @@ function bigInt64ArraySubarray() {
> : ^^^^^^^^^^
var arr = new BigInt64Array(10);
>arr : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array(10) : BigInt64Array
> : ^^^^^^^^^^^^^
>arr : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array(10) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : BigInt64Array
> : ^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => BigInt64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : BigInt64Array
> : ^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => BigInt64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => BigInt64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => BigInt64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : BigInt64Array
> : ^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => BigInt64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : BigInt64Array
> : ^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => BigInt64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => BigInt64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => BigInt64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : BigInt64Array
> : ^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => BigInt64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : BigInt64Array
> : ^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => BigInt64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => BigInt64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => BigInt64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10

View File

@@ -117,10 +117,10 @@ const bigNum: bigint = 0n;
> : ^^
const typedArray = new Uint8Array(3);
>typedArray : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(3) : Uint8Array
> : ^^^^^^^^^^
>typedArray : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array(3) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>3 : 3
@@ -131,8 +131,8 @@ typedArray[bigNum] = 0xAA; // should error
> : ^^^
>typedArray[bigNum] : any
> : ^^^
>typedArray : Uint8Array
> : ^^^^^^^^^^
>typedArray : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>bigNum : bigint
> : ^^^^^^
>0xAA : 170
@@ -143,8 +143,8 @@ typedArray[String(bigNum)] = 0xAA;
> : ^^^
>typedArray[String(bigNum)] : any
> : ^^^
>typedArray : Uint8Array
> : ^^^^^^^^^^
>typedArray : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>String(bigNum) : string
> : ^^^^^^
>String : StringConstructor
@@ -159,8 +159,8 @@ typedArray["1"] = 0xBB;
> : ^^^
>typedArray["1"] : number
> : ^^^^^^
>typedArray : Uint8Array
> : ^^^^^^^^^^
>typedArray : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>"1" : "1"
> : ^^^
>0xBB : 187
@@ -171,8 +171,8 @@ typedArray[2] = 0xCC;
> : ^^^
>typedArray[2] : number
> : ^^^^^^
>typedArray : Uint8Array
> : ^^^^^^^^^^
>typedArray : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>2 : 2
> : ^
>0xCC : 204

View File

@@ -1,29 +1,31 @@
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.
Overload 1 of 3, '(length?: number): BigInt64Array<ArrayBuffer>', gave the following error.
Argument of type 'number[]' is not assignable to parameter of type 'number'.
Overload 2 of 3, '(array: Iterable<bigint>): BigInt64Array', gave the following error.
Argument of type 'number[]' is not assignable to parameter of type 'Iterable<bigint>'.
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
Type 'IteratorResult<number, any>' is not assignable to type 'IteratorResult<bigint, any>'.
Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorResult<bigint, any>'.
Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorYieldResult<bigint>'.
Type 'number' is not assignable to type 'bigint'.
Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array', gave the following error.
Overload 2 of 3, '(array: ArrayLike<bigint> | Iterable<bigint>): BigInt64Array<ArrayBuffer>', gave the following error.
Argument of type 'number[]' is not assignable to parameter of type 'ArrayLike<bigint> | Iterable<bigint>'.
Type 'number[]' is not assignable to type 'Iterable<bigint>'.
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
Type 'IteratorResult<number, any>' is not assignable to type 'IteratorResult<bigint, any>'.
Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorResult<bigint, any>'.
Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorYieldResult<bigint>'.
Type 'number' is not assignable to type 'bigint'.
Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array<ArrayBufferLike>', 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.
Overload 1 of 3, '(length?: number): BigUint64Array<ArrayBuffer>', gave the following error.
Argument of type 'number[]' is not assignable to parameter of type 'number'.
Overload 2 of 3, '(array: Iterable<bigint>): BigUint64Array', gave the following error.
Argument of type 'number[]' is not assignable to parameter of type 'Iterable<bigint>'.
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
Type 'IteratorResult<number, any>' is not assignable to type 'IteratorResult<bigint, any>'.
Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorResult<bigint, any>'.
Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorYieldResult<bigint>'.
Type 'number' is not assignable to type 'bigint'.
Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array', gave the following error.
Overload 2 of 3, '(array: ArrayLike<bigint> | Iterable<bigint>): BigUint64Array<ArrayBuffer>', gave the following error.
Argument of type 'number[]' is not assignable to parameter of type 'ArrayLike<bigint> | Iterable<bigint>'.
Type 'number[]' is not assignable to type 'Iterable<bigint>'.
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
Type 'IteratorResult<number, any>' is not assignable to type 'IteratorResult<bigint, any>'.
Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorResult<bigint, any>'.
Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorYieldResult<bigint>'.
Type 'number' is not assignable to type 'bigint'.
Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array<ArrayBufferLike>', 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.
@@ -55,16 +57,17 @@ bigintWithLib.ts(46,26): error TS2345: Argument of type 'number' is not assignab
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: Overload 1 of 3, '(length?: number): BigInt64Array<ArrayBuffer>', 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<bigint>): BigInt64Array', gave the following error.
!!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'Iterable<bigint>'.
!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
!!! error TS2769: Type 'IteratorResult<number, any>' is not assignable to type 'IteratorResult<bigint, any>'.
!!! error TS2769: Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorResult<bigint, any>'.
!!! error TS2769: Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorYieldResult<bigint>'.
!!! 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: Overload 2 of 3, '(array: ArrayLike<bigint> | Iterable<bigint>): BigInt64Array<ArrayBuffer>', gave the following error.
!!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'ArrayLike<bigint> | Iterable<bigint>'.
!!! error TS2769: Type 'number[]' is not assignable to type 'Iterable<bigint>'.
!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
!!! error TS2769: Type 'IteratorResult<number, any>' is not assignable to type 'IteratorResult<bigint, any>'.
!!! error TS2769: Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorResult<bigint, any>'.
!!! error TS2769: Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorYieldResult<bigint>'.
!!! error TS2769: Type 'number' is not assignable to type 'bigint'.
!!! error TS2769: Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array<ArrayBufferLike>', 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]
bigIntArray = new BigInt64Array(new ArrayBuffer(80));
@@ -83,16 +86,17 @@ bigintWithLib.ts(46,26): error TS2345: Argument of type 'number' is not assignab
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: Overload 1 of 3, '(length?: number): BigUint64Array<ArrayBuffer>', 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<bigint>): BigUint64Array', gave the following error.
!!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'Iterable<bigint>'.
!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
!!! error TS2769: Type 'IteratorResult<number, any>' is not assignable to type 'IteratorResult<bigint, any>'.
!!! error TS2769: Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorResult<bigint, any>'.
!!! error TS2769: Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorYieldResult<bigint>'.
!!! 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: Overload 2 of 3, '(array: ArrayLike<bigint> | Iterable<bigint>): BigUint64Array<ArrayBuffer>', gave the following error.
!!! error TS2769: Argument of type 'number[]' is not assignable to parameter of type 'ArrayLike<bigint> | Iterable<bigint>'.
!!! error TS2769: Type 'number[]' is not assignable to type 'Iterable<bigint>'.
!!! error TS2769: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
!!! error TS2769: Type 'IteratorResult<number, any>' is not assignable to type 'IteratorResult<bigint, any>'.
!!! error TS2769: Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorResult<bigint, any>'.
!!! error TS2769: Type 'IteratorYieldResult<number>' is not assignable to type 'IteratorYieldResult<bigint>'.
!!! error TS2769: Type 'number' is not assignable to type 'bigint'.
!!! error TS2769: Overload 3 of 3, '(buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array<ArrayBufferLike>', 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]
bigUintArray = new BigUint64Array(new ArrayBuffer(80));

View File

@@ -128,7 +128,7 @@ declare let bigIntArray: BigInt64Array;
declare let len: number;
declare let arrayBufferLike: ArrayBufferView;
declare let bigUintArray: BigUint64Array;
declare const dataView: DataView;
declare const dataView: DataView<ArrayBuffer>;
declare const w = 12n;
declare const x = -12n;
declare const y: 12n;

View File

@@ -190,32 +190,32 @@ stringVal = bigintVal.toLocaleString('de-DE', { style: 'currency', currency: 'EU
// Test BigInt64Array
let bigIntArray: BigInt64Array = new BigInt64Array();
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
bigIntArray = new BigInt64Array(10);
>bigIntArray = new BigInt64Array(10) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array(10) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray = new BigInt64Array(10) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array(10) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
bigIntArray = new BigInt64Array([1n, 2n, 3n]);
>bigIntArray = new BigInt64Array([1n, 2n, 3n]) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array([1n, 2n, 3n]) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray = new BigInt64Array([1n, 2n, 3n]) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array([1n, 2n, 3n]) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>[1n, 2n, 3n] : bigint[]
@@ -228,12 +228,12 @@ bigIntArray = new BigInt64Array([1n, 2n, 3n]);
> : ^^
bigIntArray = new BigInt64Array([1, 2, 3]); // should error
>bigIntArray = new BigInt64Array([1, 2, 3]) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array([1, 2, 3]) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray = new BigInt64Array([1, 2, 3]) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array([1, 2, 3]) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>[1, 2, 3] : number[]
@@ -246,12 +246,12 @@ bigIntArray = new BigInt64Array([1, 2, 3]); // should error
> : ^
bigIntArray = new BigInt64Array(new ArrayBuffer(80));
>bigIntArray = new BigInt64Array(new ArrayBuffer(80)) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array(new ArrayBuffer(80)) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray = new BigInt64Array(new ArrayBuffer(80)) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array(new ArrayBuffer(80)) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new ArrayBuffer(80) : ArrayBuffer
@@ -262,12 +262,12 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80));
> : ^^
bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
>bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array(new ArrayBuffer(80), 8) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array(new ArrayBuffer(80), 8) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new ArrayBuffer(80) : ArrayBuffer
@@ -280,12 +280,12 @@ bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8);
> : ^
bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3);
>bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array(new ArrayBuffer(80), 8, 3) : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray = new BigInt64Array(new ArrayBuffer(80), 8, 3) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array(new ArrayBuffer(80), 8, 3) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new ArrayBuffer(80) : ArrayBuffer
@@ -304,8 +304,8 @@ let len: number = bigIntArray.length;
> : ^^^^^^
>bigIntArray.length : number
> : ^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>length : number
> : ^^^^^^
@@ -314,47 +314,47 @@ bigIntArray.length = 10; // should error
> : ^^
>bigIntArray.length : any
> : ^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>length : any
> : ^^^
>10 : 10
> : ^^
let arrayBufferLike: ArrayBufferView = bigIntArray;
>arrayBufferLike : ArrayBufferView
> : ^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>arrayBufferLike : ArrayBufferView<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// Test BigUint64Array
let bigUintArray: BigUint64Array = new BigUint64Array();
>bigUintArray : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
bigUintArray = new BigUint64Array(10);
>bigUintArray = new BigUint64Array(10) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array(10) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray = new BigUint64Array(10) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array(10) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
bigUintArray = new BigUint64Array([1n, 2n, 3n]);
>bigUintArray = new BigUint64Array([1n, 2n, 3n]) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array([1n, 2n, 3n]) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray = new BigUint64Array([1n, 2n, 3n]) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array([1n, 2n, 3n]) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>[1n, 2n, 3n] : bigint[]
@@ -367,12 +367,12 @@ bigUintArray = new BigUint64Array([1n, 2n, 3n]);
> : ^^
bigUintArray = new BigUint64Array([1, 2, 3]); // should error
>bigUintArray = new BigUint64Array([1, 2, 3]) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array([1, 2, 3]) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray = new BigUint64Array([1, 2, 3]) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array([1, 2, 3]) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>[1, 2, 3] : number[]
@@ -385,12 +385,12 @@ bigUintArray = new BigUint64Array([1, 2, 3]); // should error
> : ^
bigUintArray = new BigUint64Array(new ArrayBuffer(80));
>bigUintArray = new BigUint64Array(new ArrayBuffer(80)) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array(new ArrayBuffer(80)) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray = new BigUint64Array(new ArrayBuffer(80)) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array(new ArrayBuffer(80)) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new ArrayBuffer(80) : ArrayBuffer
@@ -401,12 +401,12 @@ bigUintArray = new BigUint64Array(new ArrayBuffer(80));
> : ^^
bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8);
>bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array(new ArrayBuffer(80), 8) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array(new ArrayBuffer(80), 8) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new ArrayBuffer(80) : ArrayBuffer
@@ -419,12 +419,12 @@ bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8);
> : ^
bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3);
>bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array(new ArrayBuffer(80), 8, 3) : BigUint64Array
> : ^^^^^^^^^^^^^^
>bigUintArray = new BigUint64Array(new ArrayBuffer(80), 8, 3) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigUintArray : BigUint64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array(new ArrayBuffer(80), 8, 3) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new ArrayBuffer(80) : ArrayBuffer
@@ -445,8 +445,8 @@ len = bigIntArray.length;
> : ^^^^^^
>bigIntArray.length : number
> : ^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>length : number
> : ^^^^^^
@@ -455,27 +455,27 @@ bigIntArray.length = 10; // should error
> : ^^
>bigIntArray.length : any
> : ^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>length : any
> : ^^^
>10 : 10
> : ^^
arrayBufferLike = bigIntArray;
>arrayBufferLike = bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>arrayBufferLike : ArrayBufferView
> : ^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>arrayBufferLike = bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arrayBufferLike : ArrayBufferView<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// Test added DataView methods
const dataView = new DataView(new ArrayBuffer(80));
>dataView : DataView
> : ^^^^^^^^
>new DataView(new ArrayBuffer(80)) : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>new DataView(new ArrayBuffer(80)) : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>DataView : DataViewConstructor
> : ^^^^^^^^^^^^^^^^^^^
>new ArrayBuffer(80) : ArrayBuffer
@@ -490,8 +490,8 @@ dataView.setBigInt64(1, -1n);
> : ^^^^
>dataView.setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>1 : 1
@@ -506,8 +506,8 @@ dataView.setBigInt64(1, -1n, true);
> : ^^^^
>dataView.setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>1 : 1
@@ -524,8 +524,8 @@ dataView.setBigInt64(1, -1); // should error
> : ^^^^
>dataView.setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigInt64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>1 : 1
@@ -540,8 +540,8 @@ dataView.setBigUint64(2, 123n);
> : ^^^^
>dataView.setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>2 : 2
@@ -554,8 +554,8 @@ dataView.setBigUint64(2, 123n, true);
> : ^^^^
>dataView.setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>2 : 2
@@ -570,8 +570,8 @@ dataView.setBigUint64(2, 123); // should error
> : ^^^^
>dataView.setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigUint64 : (byteOffset: number, value: bigint, littleEndian?: boolean) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^
>2 : 2
@@ -588,8 +588,8 @@ bigintVal = dataView.getBigInt64(1);
> : ^^^^^^
>dataView.getBigInt64 : (byteOffset: number, littleEndian?: boolean) => bigint
> : ^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>getBigInt64 : (byteOffset: number, littleEndian?: boolean) => bigint
> : ^ ^^ ^^ ^^^ ^^^^^
>1 : 1
@@ -604,8 +604,8 @@ bigintVal = dataView.getBigInt64(1, true);
> : ^^^^^^
>dataView.getBigInt64 : (byteOffset: number, littleEndian?: boolean) => bigint
> : ^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>getBigInt64 : (byteOffset: number, littleEndian?: boolean) => bigint
> : ^ ^^ ^^ ^^^ ^^^^^
>1 : 1
@@ -622,8 +622,8 @@ bigintVal = dataView.getBigUint64(2);
> : ^^^^^^
>dataView.getBigUint64 : (byteOffset: number, littleEndian?: boolean) => bigint
> : ^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>getBigUint64 : (byteOffset: number, littleEndian?: boolean) => bigint
> : ^ ^^ ^^ ^^^ ^^^^^
>2 : 2
@@ -638,8 +638,8 @@ bigintVal = dataView.getBigUint64(2, true);
> : ^^^^^^
>dataView.getBigUint64 : (byteOffset: number, littleEndian?: boolean) => bigint
> : ^ ^^ ^^ ^^^ ^^^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>getBigUint64 : (byteOffset: number, littleEndian?: boolean) => bigint
> : ^ ^^ ^^ ^^^ ^^^^^
>2 : 2

View File

@@ -32,20 +32,20 @@ bigintWithoutLib.ts(33,20): error TS2583: Cannot find name 'BigUint64Array'. Do
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,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView<ArrayBuffer>'. 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,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView<ArrayBuffer>'. 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(45,10): error TS2550: Property 'setBigInt64' does not exist on type 'DataView<ArrayBuffer>'. 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<ArrayBuffer>'. 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,10): error TS2550: Property 'setBigUint64' does not exist on type 'DataView<ArrayBuffer>'. 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(48,10): error TS2550: Property 'setBigUint64' does not exist on type 'DataView<ArrayBuffer>'. 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<ArrayBuffer>'. 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<ArrayBuffer>'. 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<ArrayBuffer>'. 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<ArrayBuffer>'. 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'.
@@ -164,42 +164,42 @@ bigintWithoutLib.ts(56,36): error TS2345: Argument of type 'bigint' is not assig
const dataView = new DataView(new ArrayBuffer(80));
dataView.setBigInt64(1, -1n);
~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'setBigInt64' does not exist on type 'DataView<ArrayBuffer>'. 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.
dataView.setBigInt64(1, -1n, true);
~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'setBigInt64' does not exist on type 'DataView<ArrayBuffer>'. 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.
dataView.setBigInt64(1, -1);
~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'setBigInt64' does not exist on type 'DataView<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
dataView.setBigUint64(2, 123n);
~~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'setBigUint64' does not exist on type 'DataView<ArrayBuffer>'. 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.
dataView.setBigUint64(2, 123n, true);
~~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'setBigUint64' does not exist on type 'DataView<ArrayBuffer>'. 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.
dataView.setBigUint64(2, 123);
~~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'setBigUint64' does not exist on type 'DataView<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
bigintVal = dataView.getBigInt64(1);
~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'getBigInt64' does not exist on type 'DataView<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
bigintVal = dataView.getBigInt64(1, true);
~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'getBigInt64' does not exist on type 'DataView<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
bigintVal = dataView.getBigUint64(2);
~~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'getBigUint64' does not exist on type 'DataView<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
bigintVal = dataView.getBigUint64(2, true);
~~~~~~~~~~~~
!!! 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.
!!! error TS2550: Property 'getBigUint64' does not exist on type 'DataView<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
// Test Intl methods with new parameter type
new Intl.NumberFormat("fr").format(3000n);

View File

@@ -324,8 +324,8 @@ bigIntArray.length = 10;
> : ^^
let arrayBufferLike: ArrayBufferView = bigIntArray;
>arrayBufferLike : ArrayBufferView
> : ^^^^^^^^^^^^^^^
>arrayBufferLike : ArrayBufferView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
@@ -467,17 +467,17 @@ bigIntArray.length = 10;
arrayBufferLike = bigIntArray;
>arrayBufferLike = bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
>arrayBufferLike : ArrayBufferView
> : ^^^^^^^^^^^^^^^
>arrayBufferLike : ArrayBufferView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>bigIntArray : BigInt64Array
> : ^^^^^^^^^^^^^
// Test added DataView methods
const dataView = new DataView(new ArrayBuffer(80));
>dataView : DataView
> : ^^^^^^^^
>new DataView(new ArrayBuffer(80)) : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>new DataView(new ArrayBuffer(80)) : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>DataView : DataViewConstructor
> : ^^^^^^^^^^^^^^^^^^^
>new ArrayBuffer(80) : ArrayBuffer
@@ -492,8 +492,8 @@ dataView.setBigInt64(1, -1n);
> : ^^^
>dataView.setBigInt64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigInt64 : any
> : ^^^
>1 : 1
@@ -508,8 +508,8 @@ dataView.setBigInt64(1, -1n, true);
> : ^^^
>dataView.setBigInt64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigInt64 : any
> : ^^^
>1 : 1
@@ -526,8 +526,8 @@ dataView.setBigInt64(1, -1);
> : ^^^
>dataView.setBigInt64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigInt64 : any
> : ^^^
>1 : 1
@@ -542,8 +542,8 @@ dataView.setBigUint64(2, 123n);
> : ^^^
>dataView.setBigUint64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigUint64 : any
> : ^^^
>2 : 2
@@ -556,8 +556,8 @@ dataView.setBigUint64(2, 123n, true);
> : ^^^
>dataView.setBigUint64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigUint64 : any
> : ^^^
>2 : 2
@@ -572,8 +572,8 @@ dataView.setBigUint64(2, 123);
> : ^^^
>dataView.setBigUint64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>setBigUint64 : any
> : ^^^
>2 : 2
@@ -590,8 +590,8 @@ bigintVal = dataView.getBigInt64(1);
> : ^^^
>dataView.getBigInt64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>getBigInt64 : any
> : ^^^
>1 : 1
@@ -606,8 +606,8 @@ bigintVal = dataView.getBigInt64(1, true);
> : ^^^
>dataView.getBigInt64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>getBigInt64 : any
> : ^^^
>1 : 1
@@ -624,8 +624,8 @@ bigintVal = dataView.getBigUint64(2);
> : ^^^
>dataView.getBigUint64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>getBigUint64 : any
> : ^^^
>2 : 2
@@ -640,8 +640,8 @@ bigintVal = dataView.getBigUint64(2, true);
> : ^^^
>dataView.getBigUint64 : any
> : ^^^
>dataView : DataView
> : ^^^^^^^^
>dataView : DataView<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^
>getBigUint64 : any
> : ^^^
>2 : 2

View File

@@ -25,7 +25,7 @@
// | class
// | const
// | continue
// | interface DataView
// | interface DataView<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var DataView: DataViewConstructor
// | interface Date
// | var Date: DateConstructor
@@ -49,9 +49,9 @@
// | extends
// | false
// | finally
// | interface Float32Array
// | interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Float32Array: Float32ArrayConstructor
// | interface Float64Array
// | interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Float64Array: Float64ArrayConstructor
// | for
// | function
@@ -65,11 +65,11 @@
// | infer
// | var Infinity: number
// | instanceof
// | interface Int8Array
// | interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int8Array: Int8ArrayConstructor
// | interface Int16Array
// | interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int16Array: Int16ArrayConstructor
// | interface Int32Array
// | interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int32Array: Int32ArrayConstructor
// | interface
// | namespace Intl
@@ -121,13 +121,13 @@
// | interface TypeError
// | var TypeError: TypeErrorConstructor
// | typeof
// | interface Uint8Array
// | interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint8Array: Uint8ArrayConstructor
// | interface Uint8ClampedArray
// | interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint8ClampedArray: Uint8ClampedArrayConstructor
// | interface Uint16Array
// | interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint16Array: Uint16ArrayConstructor
// | interface Uint32Array
// | interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint32Array: Uint32ArrayConstructor
// | var undefined
// | unique
@@ -574,6 +574,50 @@
"text": "DataView",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1344,6 +1388,50 @@
"text": "Float32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1398,6 +1486,50 @@
"text": "Float64Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1656,6 +1788,50 @@
"text": "Int8Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1710,6 +1886,50 @@
"text": "Int16Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1764,6 +1984,50 @@
"text": "Int32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3044,6 +3308,50 @@
"text": "Uint8Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3098,6 +3406,50 @@
"text": "Uint8ClampedArray",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3152,6 +3504,50 @@
"text": "Uint16Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3206,6 +3602,50 @@
"text": "Uint32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"

View File

@@ -77,7 +77,7 @@
// | class
// | const
// | continue
// | interface DataView
// | interface DataView<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var DataView: DataViewConstructor
// | interface Date
// | var Date: DateConstructor
@@ -101,9 +101,9 @@
// | extends
// | false
// | finally
// | interface Float32Array
// | interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Float32Array: Float32ArrayConstructor
// | interface Float64Array
// | interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Float64Array: Float64ArrayConstructor
// | for
// | function
@@ -117,11 +117,11 @@
// | infer
// | var Infinity: number
// | instanceof
// | interface Int8Array
// | interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int8Array: Int8ArrayConstructor
// | interface Int16Array
// | interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int16Array: Int16ArrayConstructor
// | interface Int32Array
// | interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int32Array: Int32ArrayConstructor
// | interface
// | namespace Intl
@@ -173,13 +173,13 @@
// | interface TypeError
// | var TypeError: TypeErrorConstructor
// | typeof
// | interface Uint8Array
// | interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint8Array: Uint8ArrayConstructor
// | interface Uint8ClampedArray
// | interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint8ClampedArray: Uint8ClampedArrayConstructor
// | interface Uint16Array
// | interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint16Array: Uint16ArrayConstructor
// | interface Uint32Array
// | interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint32Array: Uint32ArrayConstructor
// | var undefined
// | unique
@@ -1165,6 +1165,50 @@
"text": "DataView",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1935,6 +1979,50 @@
"text": "Float32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1989,6 +2077,50 @@
"text": "Float64Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -2247,6 +2379,50 @@
"text": "Int8Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -2301,6 +2477,50 @@
"text": "Int16Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -2355,6 +2575,50 @@
"text": "Int32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3635,6 +3899,50 @@
"text": "Uint8Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3689,6 +3997,50 @@
"text": "Uint8ClampedArray",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3743,6 +4095,50 @@
"text": "Uint16Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3797,6 +4193,50 @@
"text": "Uint32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"

File diff suppressed because it is too large Load Diff

View File

@@ -25,7 +25,7 @@
// | class
// | const
// | continue
// | interface DataView
// | interface DataView<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var DataView: DataViewConstructor
// | interface Date
// | var Date: DateConstructor
@@ -49,9 +49,9 @@
// | extends
// | false
// | finally
// | interface Float32Array
// | interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Float32Array: Float32ArrayConstructor
// | interface Float64Array
// | interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Float64Array: Float64ArrayConstructor
// | for
// | function
@@ -65,11 +65,11 @@
// | infer
// | var Infinity: number
// | instanceof
// | interface Int8Array
// | interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int8Array: Int8ArrayConstructor
// | interface Int16Array
// | interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int16Array: Int16ArrayConstructor
// | interface Int32Array
// | interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int32Array: Int32ArrayConstructor
// | interface
// | namespace Intl
@@ -121,13 +121,13 @@
// | interface TypeError
// | var TypeError: TypeErrorConstructor
// | typeof
// | interface Uint8Array
// | interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint8Array: Uint8ArrayConstructor
// | interface Uint8ClampedArray
// | interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint8ClampedArray: Uint8ClampedArrayConstructor
// | interface Uint16Array
// | interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint16Array: Uint16ArrayConstructor
// | interface Uint32Array
// | interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint32Array: Uint32ArrayConstructor
// | var undefined
// | unique
@@ -544,6 +544,50 @@
"text": "DataView",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1314,6 +1358,50 @@
"text": "Float32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1368,6 +1456,50 @@
"text": "Float64Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1626,6 +1758,50 @@
"text": "Int8Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1680,6 +1856,50 @@
"text": "Int16Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1734,6 +1954,50 @@
"text": "Int32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3014,6 +3278,50 @@
"text": "Uint8Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3068,6 +3376,50 @@
"text": "Uint8ClampedArray",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3122,6 +3474,50 @@
"text": "Uint16Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3176,6 +3572,50 @@
"text": "Uint32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"

View File

@@ -1,5 +1,5 @@
dataViewConstructor.ts(1,14): error TS2345: Argument of type 'Uint8Array' is not assignable to parameter of type 'ArrayBuffer & { BYTES_PER_ELEMENT?: never; }'.
Type 'Uint8Array' is not assignable to type '{ BYTES_PER_ELEMENT?: never; }'.
dataViewConstructor.ts(1,14): error TS2345: Argument of type 'Uint8Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBuffer & { BYTES_PER_ELEMENT?: never; }'.
Type 'Uint8Array<ArrayBuffer>' is not assignable to type '{ BYTES_PER_ELEMENT?: never; }'.
Types of property 'BYTES_PER_ELEMENT' are incompatible.
Type 'number' is not assignable to type 'never'.
@@ -7,7 +7,7 @@ dataViewConstructor.ts(1,14): error TS2345: Argument of type 'Uint8Array' is not
==== dataViewConstructor.ts (1 errors) ====
new DataView(new Uint8Array(32)); // should error
~~~~~~~~~~~~~~~~~~
!!! error TS2345: Argument of type 'Uint8Array' is not assignable to parameter of type 'ArrayBuffer & { BYTES_PER_ELEMENT?: never; }'.
!!! error TS2345: Type 'Uint8Array' is not assignable to type '{ BYTES_PER_ELEMENT?: never; }'.
!!! error TS2345: Argument of type 'Uint8Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBuffer & { BYTES_PER_ELEMENT?: never; }'.
!!! error TS2345: Type 'Uint8Array<ArrayBuffer>' is not assignable to type '{ BYTES_PER_ELEMENT?: never; }'.
!!! error TS2345: Types of property 'BYTES_PER_ELEMENT' are incompatible.
!!! error TS2345: Type 'number' is not assignable to type 'never'.

View File

@@ -2,12 +2,12 @@
=== dataViewConstructor.ts ===
new DataView(new Uint8Array(32)); // should error
>new DataView(new Uint8Array(32)) : DataView
> : ^^^^^^^^
>new DataView(new Uint8Array(32)) : DataView<ArrayBuffer & { BYTES_PER_ELEMENT?: never; }>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^
>DataView : DataViewConstructor
> : ^^^^^^^^^^^^^^^^^^^
>new Uint8Array(32) : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(32) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>32 : 32

View File

@@ -1,6 +1,6 @@
discriminateWithMissingProperty.ts(12,5): error TS2345: Argument of type '{ mode: "numeric"; data: Uint8Array; }' is not assignable to parameter of type 'Arg'.
discriminateWithMissingProperty.ts(12,5): error TS2345: Argument of type '{ mode: "numeric"; data: Uint8Array<ArrayBuffer>; }' is not assignable to parameter of type 'Arg'.
Types of property 'data' are incompatible.
Type 'Uint8Array' is not assignable to type 'number'.
Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'number'.
==== discriminateWithMissingProperty.ts (1 errors) ====
@@ -17,6 +17,6 @@ discriminateWithMissingProperty.ts(12,5): error TS2345: Argument of type '{ mode
declare function foo(arg: Arg): void;
foo({ mode: "numeric", data: new Uint8Array([30]) }); // Should error
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2345: Argument of type '{ mode: "numeric"; data: Uint8Array; }' is not assignable to parameter of type 'Arg'.
!!! error TS2345: Argument of type '{ mode: "numeric"; data: Uint8Array<ArrayBuffer>; }' is not assignable to parameter of type 'Arg'.
!!! error TS2345: Types of property 'data' are incompatible.
!!! error TS2345: Type 'Uint8Array' is not assignable to type 'number'.
!!! error TS2345: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'number'.

View File

@@ -24,8 +24,8 @@ type Arg = {
} | {
data: string | Uint8Array;
>data : string | Uint8Array
> : ^^^^^^^^^^^^^^^^^^^
>data : string | Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
}
declare function foo(arg: Arg): void;
@@ -39,16 +39,16 @@ foo({ mode: "numeric", data: new Uint8Array([30]) }); // Should error
> : ^^^^
>foo : (arg: Arg) => void
> : ^ ^^ ^^^^^
>{ mode: "numeric", data: new Uint8Array([30]) } : { mode: "numeric"; data: Uint8Array; }
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>{ mode: "numeric", data: new Uint8Array([30]) } : { mode: "numeric"; data: Uint8Array<ArrayBuffer>; }
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>mode : "numeric"
> : ^^^^^^^^^
>"numeric" : "numeric"
> : ^^^^^^^^^
>data : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array([30]) : Uint8Array
> : ^^^^^^^^^^
>data : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array([30]) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>[30] : number[]

View File

@@ -120,8 +120,8 @@ const testAtomics = Atomics.add(new Uint8Array(0), 0, 0);
> : ^^^
>add : any
> : ^^^
>new Uint8Array(0) : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(0) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>0 : 0

View File

@@ -20,10 +20,10 @@ const sab = new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 1024);
> : ^^^^
const int32 = new Int32Array(sab);
>int32 : Int32Array
> : ^^^^^^^^^^
>new Int32Array(sab) : Int32Array
> : ^^^^^^^^^^
>int32 : Int32Array<SharedArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new Int32Array(sab) : Int32Array<SharedArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>sab : SharedArrayBuffer
@@ -48,10 +48,10 @@ const sab64 = new SharedArrayBuffer(BigInt64Array.BYTES_PER_ELEMENT * 1024);
> : ^^^^
const int64 = new BigInt64Array(sab64);
>int64 : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array(sab64) : BigInt64Array
> : ^^^^^^^^^^^^^
>int64 : BigInt64Array<SharedArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array(sab64) : BigInt64Array<SharedArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>sab64 : SharedArrayBuffer
@@ -62,14 +62,14 @@ const waitValue = Atomics.wait(int32, 0, 0);
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Atomics.wait(int32, 0, 0) : "ok" | "not-equal" | "timed-out"
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Atomics.wait : { (typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out"; (typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out"; }
> : ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^
>Atomics.wait : { (typedArray: Int32Array<ArrayBufferLike>, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out"; (typedArray: BigInt64Array<ArrayBufferLike>, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out"; }
> : ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^
>Atomics : Atomics
> : ^^^^^^^
>wait : { (typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out"; (typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out"; }
> : ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^
>int32 : Int32Array
> : ^^^^^^^^^^
>wait : { (typedArray: Int32Array<ArrayBufferLike>, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out"; (typedArray: BigInt64Array<ArrayBufferLike>, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out"; }
> : ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^
>int32 : Int32Array<SharedArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>0 : 0
@@ -88,8 +88,8 @@ const { async, value } = Atomics.waitAsync(int32, 0, 0);
> : ^^^^^^^
>waitAsync : { (typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; (typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; }
> : ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^
>int32 : Int32Array
> : ^^^^^^^^^^
>int32 : Int32Array<SharedArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>0 : 0
@@ -112,8 +112,8 @@ const { async: async64, value: value64 } = Atomics.waitAsync(int64, 0, BigInt(0)
> : ^^^^^^^
>waitAsync : { (typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; (typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; }
> : ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^
>int64 : BigInt64Array
> : ^^^^^^^^^^^^^
>int64 : BigInt64Array<SharedArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>BigInt(0) : bigint

View File

@@ -27,7 +27,7 @@
// | class
// | const
// | continue
// | interface DataView
// | interface DataView<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var DataView: DataViewConstructor
// | interface Date
// | var Date: DateConstructor
@@ -51,9 +51,9 @@
// | extends
// | false
// | finally
// | interface Float32Array
// | interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Float32Array: Float32ArrayConstructor
// | interface Float64Array
// | interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Float64Array: Float64ArrayConstructor
// | for
// | function
@@ -67,11 +67,11 @@
// | infer
// | var Infinity: number
// | instanceof
// | interface Int8Array
// | interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int8Array: Int8ArrayConstructor
// | interface Int16Array
// | interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int16Array: Int16ArrayConstructor
// | interface Int32Array
// | interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Int32Array: Int32ArrayConstructor
// | interface
// | namespace Intl
@@ -123,13 +123,13 @@
// | interface TypeError
// | var TypeError: TypeErrorConstructor
// | typeof
// | interface Uint8Array
// | interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint8Array: Uint8ArrayConstructor
// | interface Uint8ClampedArray
// | interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint8ClampedArray: Uint8ClampedArrayConstructor
// | interface Uint16Array
// | interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint16Array: Uint16ArrayConstructor
// | interface Uint32Array
// | interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>
// | var Uint32Array: Uint32ArrayConstructor
// | var undefined
// | unique
@@ -537,6 +537,50 @@
"text": "DataView",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1307,6 +1351,50 @@
"text": "Float32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1361,6 +1449,50 @@
"text": "Float64Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1619,6 +1751,50 @@
"text": "Int8Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1673,6 +1849,50 @@
"text": "Int16Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -1727,6 +1947,50 @@
"text": "Int32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3007,6 +3271,50 @@
"text": "Uint8Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3061,6 +3369,50 @@
"text": "Uint8ClampedArray",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3115,6 +3467,50 @@
"text": "Uint16Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
@@ -3169,6 +3565,50 @@
"text": "Uint32Array",
"kind": "localName"
},
{
"text": "<",
"kind": "punctuation"
},
{
"text": "TArrayBuffer",
"kind": "typeParameterName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "extends",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBufferLike",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "ArrayBuffer",
"kind": "localName"
},
{
"text": ">",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"

View File

@@ -1,29 +1,29 @@
findLast.ts(1,44): error TS2550: Property 'findLast' does not exist on type 'number[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(2,51): error TS2550: Property 'findLast' does not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(3,17): error TS2550: Property 'findLast' does not exist on type 'Int8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(4,18): error TS2550: Property 'findLast' does not exist on type 'Uint8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(5,25): error TS2550: Property 'findLast' does not exist on type 'Uint8ClampedArray'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(6,18): error TS2550: Property 'findLast' does not exist on type 'Int16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(7,19): error TS2550: Property 'findLast' does not exist on type 'Uint16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(8,18): error TS2550: Property 'findLast' does not exist on type 'Int32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(9,19): error TS2550: Property 'findLast' does not exist on type 'Uint32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(10,20): error TS2550: Property 'findLast' does not exist on type 'Float32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(11,20): error TS2550: Property 'findLast' does not exist on type 'Float64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(12,21): error TS2550: Property 'findLast' does not exist on type 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(13,22): error TS2550: Property 'findLast' does not exist on type 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(3,17): error TS2550: Property 'findLast' does not exist on type 'Int8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(4,18): error TS2550: Property 'findLast' does not exist on type 'Uint8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(5,25): error TS2550: Property 'findLast' does not exist on type 'Uint8ClampedArray<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(6,18): error TS2550: Property 'findLast' does not exist on type 'Int16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(7,19): error TS2550: Property 'findLast' does not exist on type 'Uint16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(8,18): error TS2550: Property 'findLast' does not exist on type 'Int32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(9,19): error TS2550: Property 'findLast' does not exist on type 'Uint32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(10,20): error TS2550: Property 'findLast' does not exist on type 'Float32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(11,20): error TS2550: Property 'findLast' does not exist on type 'Float64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(12,21): error TS2550: Property 'findLast' does not exist on type 'BigInt64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(13,22): error TS2550: Property 'findLast' does not exist on type 'BigUint64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(15,33): error TS2550: Property 'findLastIndex' does not exist on type 'number[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(16,40): error TS2550: Property 'findLastIndex' does not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(17,17): error TS2550: Property 'findLastIndex' does not exist on type 'Int8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(18,18): error TS2550: Property 'findLastIndex' does not exist on type 'Uint8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(19,25): error TS2550: Property 'findLastIndex' does not exist on type 'Uint8ClampedArray'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(20,18): error TS2550: Property 'findLastIndex' does not exist on type 'Int16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(21,19): error TS2550: Property 'findLastIndex' does not exist on type 'Uint16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(22,18): error TS2550: Property 'findLastIndex' does not exist on type 'Int32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(23,19): error TS2550: Property 'findLastIndex' does not exist on type 'Uint32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(24,20): error TS2550: Property 'findLastIndex' does not exist on type 'Float32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(25,20): error TS2550: Property 'findLastIndex' does not exist on type 'Float64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(26,21): error TS2550: Property 'findLastIndex' does not exist on type 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(27,22): error TS2550: Property 'findLastIndex' does not exist on type 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(17,17): error TS2550: Property 'findLastIndex' does not exist on type 'Int8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(18,18): error TS2550: Property 'findLastIndex' does not exist on type 'Uint8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(19,25): error TS2550: Property 'findLastIndex' does not exist on type 'Uint8ClampedArray<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(20,18): error TS2550: Property 'findLastIndex' does not exist on type 'Int16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(21,19): error TS2550: Property 'findLastIndex' does not exist on type 'Uint16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(22,18): error TS2550: Property 'findLastIndex' does not exist on type 'Int32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(23,19): error TS2550: Property 'findLastIndex' does not exist on type 'Uint32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(24,20): error TS2550: Property 'findLastIndex' does not exist on type 'Float32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(25,20): error TS2550: Property 'findLastIndex' does not exist on type 'Float64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(26,21): error TS2550: Property 'findLastIndex' does not exist on type 'BigInt64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
findLast.ts(27,22): error TS2550: Property 'findLastIndex' does not exist on type 'BigUint64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
==== findLast.ts (26 errors) ====
@@ -35,37 +35,37 @@ findLast.ts(27,22): error TS2550: Property 'findLastIndex' does not exist on typ
!!! error TS2550: Property 'findLast' does not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Int8Array().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Int8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Int8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Uint8Array().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Uint8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Uint8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Uint8ClampedArray().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Uint8ClampedArray'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Uint8ClampedArray<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Int16Array().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Int16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Int16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Uint16Array().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Uint16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Uint16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Int32Array().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Int32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Int32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Uint32Array().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Uint32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Uint32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Float32Array().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Float32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Float32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Float64Array().findLast((item) => item === 0);
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'Float64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'Float64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new BigInt64Array().findLast((item) => item === BigInt(0));
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'BigInt64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new BigUint64Array().findLast((item) => item === BigInt(0));
~~~~~~~~
!!! error TS2550: Property 'findLast' does not exist on type 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLast' does not exist on type 'BigUint64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
const indexNumber: number = [0].findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
@@ -75,35 +75,35 @@ findLast.ts(27,22): error TS2550: Property 'findLastIndex' does not exist on typ
!!! error TS2550: Property 'findLastIndex' does not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Int8Array().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Int8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Int8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Uint8Array().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Uint8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Uint8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Uint8ClampedArray().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Uint8ClampedArray'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Uint8ClampedArray<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Int16Array().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Int16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Int16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Uint16Array().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Uint16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Uint16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Int32Array().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Int32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Int32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Uint32Array().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Uint32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Uint32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Float32Array().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Float32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Float32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new Float64Array().findLastIndex((item) => item === 0);
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Float64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'Float64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new BigInt64Array().findLastIndex((item) => item === BigInt(0));
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'BigInt64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
new BigUint64Array().findLastIndex((item) => item === BigInt(0));
~~~~~~~~~~~~~
!!! error TS2550: Property 'findLastIndex' does not exist on type 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.
!!! error TS2550: Property 'findLastIndex' does not exist on type 'BigUint64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2023' or later.

View File

@@ -54,8 +54,8 @@ new Int8Array().findLast((item) => item === 0);
> : ^^^
>new Int8Array().findLast : any
> : ^^^
>new Int8Array() : Int8Array
> : ^^^^^^^^^
>new Int8Array() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -76,8 +76,8 @@ new Uint8Array().findLast((item) => item === 0);
> : ^^^
>new Uint8Array().findLast : any
> : ^^^
>new Uint8Array() : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -98,8 +98,8 @@ new Uint8ClampedArray().findLast((item) => item === 0);
> : ^^^
>new Uint8ClampedArray().findLast : any
> : ^^^
>new Uint8ClampedArray() : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -120,8 +120,8 @@ new Int16Array().findLast((item) => item === 0);
> : ^^^
>new Int16Array().findLast : any
> : ^^^
>new Int16Array() : Int16Array
> : ^^^^^^^^^^
>new Int16Array() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -142,8 +142,8 @@ new Uint16Array().findLast((item) => item === 0);
> : ^^^
>new Uint16Array().findLast : any
> : ^^^
>new Uint16Array() : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -164,8 +164,8 @@ new Int32Array().findLast((item) => item === 0);
> : ^^^
>new Int32Array().findLast : any
> : ^^^
>new Int32Array() : Int32Array
> : ^^^^^^^^^^
>new Int32Array() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -186,8 +186,8 @@ new Uint32Array().findLast((item) => item === 0);
> : ^^^
>new Uint32Array().findLast : any
> : ^^^
>new Uint32Array() : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -208,8 +208,8 @@ new Float32Array().findLast((item) => item === 0);
> : ^^^
>new Float32Array().findLast : any
> : ^^^
>new Float32Array() : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -230,8 +230,8 @@ new Float64Array().findLast((item) => item === 0);
> : ^^^
>new Float64Array().findLast : any
> : ^^^
>new Float64Array() : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -252,8 +252,8 @@ new BigInt64Array().findLast((item) => item === BigInt(0));
> : ^^^
>new BigInt64Array().findLast : any
> : ^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -278,8 +278,8 @@ new BigUint64Array().findLast((item) => item === BigInt(0));
> : ^^^
>new BigUint64Array().findLast : any
> : ^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>findLast : any
@@ -352,8 +352,8 @@ new Int8Array().findLastIndex((item) => item === 0);
> : ^^^
>new Int8Array().findLastIndex : any
> : ^^^
>new Int8Array() : Int8Array
> : ^^^^^^^^^
>new Int8Array() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -374,8 +374,8 @@ new Uint8Array().findLastIndex((item) => item === 0);
> : ^^^
>new Uint8Array().findLastIndex : any
> : ^^^
>new Uint8Array() : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -396,8 +396,8 @@ new Uint8ClampedArray().findLastIndex((item) => item === 0);
> : ^^^
>new Uint8ClampedArray().findLastIndex : any
> : ^^^
>new Uint8ClampedArray() : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -418,8 +418,8 @@ new Int16Array().findLastIndex((item) => item === 0);
> : ^^^
>new Int16Array().findLastIndex : any
> : ^^^
>new Int16Array() : Int16Array
> : ^^^^^^^^^^
>new Int16Array() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -440,8 +440,8 @@ new Uint16Array().findLastIndex((item) => item === 0);
> : ^^^
>new Uint16Array().findLastIndex : any
> : ^^^
>new Uint16Array() : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -462,8 +462,8 @@ new Int32Array().findLastIndex((item) => item === 0);
> : ^^^
>new Int32Array().findLastIndex : any
> : ^^^
>new Int32Array() : Int32Array
> : ^^^^^^^^^^
>new Int32Array() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -484,8 +484,8 @@ new Uint32Array().findLastIndex((item) => item === 0);
> : ^^^
>new Uint32Array().findLastIndex : any
> : ^^^
>new Uint32Array() : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -506,8 +506,8 @@ new Float32Array().findLastIndex((item) => item === 0);
> : ^^^
>new Float32Array().findLastIndex : any
> : ^^^
>new Float32Array() : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -528,8 +528,8 @@ new Float64Array().findLastIndex((item) => item === 0);
> : ^^^
>new Float64Array().findLastIndex : any
> : ^^^
>new Float64Array() : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -550,8 +550,8 @@ new BigInt64Array().findLastIndex((item) => item === BigInt(0));
> : ^^^
>new BigInt64Array().findLastIndex : any
> : ^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any
@@ -576,8 +576,8 @@ new BigUint64Array().findLastIndex((item) => item === BigInt(0));
> : ^^^
>new BigUint64Array().findLastIndex : any
> : ^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : any

View File

@@ -52,14 +52,14 @@ const itemString: string | undefined = ["string"].findLast((item) => item === "s
new Int8Array().findLast((item) => item === 0);
>new Int8Array().findLast((item) => item === 0) : 0
> : ^
>new Int8Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Int8Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Int8Array() : Int8Array
> : ^^^^^^^^^
>new Int8Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Int8Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int8Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Int8Array() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Int8Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Int8Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int8Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -74,14 +74,14 @@ new Int8Array().findLast((item) => item === 0);
new Uint8Array().findLast((item) => item === 0);
>new Uint8Array().findLast((item) => item === 0) : 0
> : ^
>new Uint8Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint8Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Uint8Array() : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint8Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint8Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Uint8Array() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint8Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint8Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint8Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -96,14 +96,14 @@ new Uint8Array().findLast((item) => item === 0);
new Uint8ClampedArray().findLast((item) => item === 0);
>new Uint8ClampedArray().findLast((item) => item === 0) : 0
> : ^
>new Uint8ClampedArray().findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Uint8ClampedArray() : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray().findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint8ClampedArray<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Uint8ClampedArray() : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint8ClampedArray<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -118,14 +118,14 @@ new Uint8ClampedArray().findLast((item) => item === 0);
new Int16Array().findLast((item) => item === 0);
>new Int16Array().findLast((item) => item === 0) : 0
> : ^
>new Int16Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Int16Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Int16Array() : Int16Array
> : ^^^^^^^^^^
>new Int16Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Int16Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int16Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Int16Array() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Int16Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Int16Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int16Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -140,14 +140,14 @@ new Int16Array().findLast((item) => item === 0);
new Uint16Array().findLast((item) => item === 0);
>new Uint16Array().findLast((item) => item === 0) : 0
> : ^
>new Uint16Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint16Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Uint16Array() : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint16Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint16Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Uint16Array() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint16Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint16Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint16Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -162,14 +162,14 @@ new Uint16Array().findLast((item) => item === 0);
new Int32Array().findLast((item) => item === 0);
>new Int32Array().findLast((item) => item === 0) : 0
> : ^
>new Int32Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Int32Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Int32Array() : Int32Array
> : ^^^^^^^^^^
>new Int32Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Int32Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int32Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Int32Array() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Int32Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Int32Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Int32Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -184,14 +184,14 @@ new Int32Array().findLast((item) => item === 0);
new Uint32Array().findLast((item) => item === 0);
>new Uint32Array().findLast((item) => item === 0) : 0
> : ^
>new Uint32Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint32Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Uint32Array() : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint32Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint32Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Uint32Array() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint32Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Uint32Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Uint32Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -206,14 +206,14 @@ new Uint32Array().findLast((item) => item === 0);
new Float32Array().findLast((item) => item === 0);
>new Float32Array().findLast((item) => item === 0) : 0
> : ^
>new Float32Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Float32Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Float32Array() : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Float32Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Float32Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Float32Array() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Float32Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Float32Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Float32Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -228,14 +228,14 @@ new Float32Array().findLast((item) => item === 0);
new Float64Array().findLast((item) => item === 0);
>new Float64Array().findLast((item) => item === 0) : 0
> : ^
>new Float64Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Float64Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new Float64Array() : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array().findLast : { <S extends number>(predicate: (value: number, index: number, array: Float64Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Float64Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new Float64Array() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Float64Array) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends number>(predicate: (value: number, index: number, array: Float64Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, array: Float64Array<ArrayBuffer>) => unknown, thisArg?: any): number | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -250,14 +250,14 @@ new Float64Array().findLast((item) => item === 0);
new BigInt64Array().findLast((item) => item === BigInt(0));
>new BigInt64Array().findLast((item) => item === BigInt(0)) : bigint
> : ^^^^^^
>new BigInt64Array().findLast : { <S extends bigint>(predicate: (value: bigint, index: number, array: BigInt64Array) => value is S, thisArg?: any): S; (predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any): bigint | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array().findLast : { <S extends bigint>(predicate: (value: bigint, index: number, array: BigInt64Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: bigint, index: number, array: BigInt64Array<ArrayBuffer>) => unknown, thisArg?: any): bigint | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends bigint>(predicate: (value: bigint, index: number, array: BigInt64Array) => value is S, thisArg?: any): S; (predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any): bigint | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends bigint>(predicate: (value: bigint, index: number, array: BigInt64Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: bigint, index: number, array: BigInt64Array<ArrayBuffer>) => unknown, thisArg?: any): bigint | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === BigInt(0) : (item: bigint) => boolean
> : ^ ^^^^^^^^^^^^^^^^^^^^
>item : bigint
@@ -276,14 +276,14 @@ new BigInt64Array().findLast((item) => item === BigInt(0));
new BigUint64Array().findLast((item) => item === BigInt(0));
>new BigUint64Array().findLast((item) => item === BigInt(0)) : bigint
> : ^^^^^^
>new BigUint64Array().findLast : { <S extends bigint>(predicate: (value: bigint, index: number, array: BigUint64Array) => value is S, thisArg?: any): S; (predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any): bigint | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array().findLast : { <S extends bigint>(predicate: (value: bigint, index: number, array: BigUint64Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: bigint, index: number, array: BigUint64Array<ArrayBuffer>) => unknown, thisArg?: any): bigint | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>findLast : { <S extends bigint>(predicate: (value: bigint, index: number, array: BigUint64Array) => value is S, thisArg?: any): S; (predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any): bigint | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^ ^^^
>findLast : { <S extends bigint>(predicate: (value: bigint, index: number, array: BigUint64Array<ArrayBuffer>) => value is S, thisArg?: any): S; (predicate: (value: bigint, index: number, array: BigUint64Array<ArrayBuffer>) => unknown, thisArg?: any): bigint | undefined; }
> : ^^^ ^^^^^^^^^ ^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^
>(item) => item === BigInt(0) : (item: bigint) => boolean
> : ^ ^^^^^^^^^^^^^^^^^^^^
>item : bigint
@@ -350,14 +350,14 @@ const indexString: number = ["string"].findLastIndex((item) => item === "string"
new Int8Array().findLastIndex((item) => item === 0);
>new Int8Array().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Int8Array().findLastIndex : (predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Int8Array() : Int8Array
> : ^^^^^^^^^
>new Int8Array().findLastIndex : (predicate: (value: number, index: number, array: Int8Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Int8Array() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Int8Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -372,14 +372,14 @@ new Int8Array().findLastIndex((item) => item === 0);
new Uint8Array().findLastIndex((item) => item === 0);
>new Uint8Array().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Uint8Array().findLastIndex : (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Uint8Array() : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array().findLastIndex : (predicate: (value: number, index: number, array: Uint8Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Uint8Array() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Uint8Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -394,14 +394,14 @@ new Uint8Array().findLastIndex((item) => item === 0);
new Uint8ClampedArray().findLastIndex((item) => item === 0);
>new Uint8ClampedArray().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Uint8ClampedArray().findLastIndex : (predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray().findLastIndex : (predicate: (value: number, index: number, array: Uint8ClampedArray<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Uint8ClampedArray<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -416,14 +416,14 @@ new Uint8ClampedArray().findLastIndex((item) => item === 0);
new Int16Array().findLastIndex((item) => item === 0);
>new Int16Array().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Int16Array().findLastIndex : (predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Int16Array() : Int16Array
> : ^^^^^^^^^^
>new Int16Array().findLastIndex : (predicate: (value: number, index: number, array: Int16Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Int16Array() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Int16Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -438,14 +438,14 @@ new Int16Array().findLastIndex((item) => item === 0);
new Uint16Array().findLastIndex((item) => item === 0);
>new Uint16Array().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Uint16Array().findLastIndex : (predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Uint16Array() : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array().findLastIndex : (predicate: (value: number, index: number, array: Uint16Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Uint16Array() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Uint16Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -460,14 +460,14 @@ new Uint16Array().findLastIndex((item) => item === 0);
new Int32Array().findLastIndex((item) => item === 0);
>new Int32Array().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Int32Array().findLastIndex : (predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Int32Array() : Int32Array
> : ^^^^^^^^^^
>new Int32Array().findLastIndex : (predicate: (value: number, index: number, array: Int32Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Int32Array() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Int32Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -482,14 +482,14 @@ new Int32Array().findLastIndex((item) => item === 0);
new Uint32Array().findLastIndex((item) => item === 0);
>new Uint32Array().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Uint32Array().findLastIndex : (predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Uint32Array() : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array().findLastIndex : (predicate: (value: number, index: number, array: Uint32Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Uint32Array() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Uint32Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -504,14 +504,14 @@ new Uint32Array().findLastIndex((item) => item === 0);
new Float32Array().findLastIndex((item) => item === 0);
>new Float32Array().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Float32Array().findLastIndex : (predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Float32Array() : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array().findLastIndex : (predicate: (value: number, index: number, array: Float32Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Float32Array() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Float32Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -526,14 +526,14 @@ new Float32Array().findLastIndex((item) => item === 0);
new Float64Array().findLastIndex((item) => item === 0);
>new Float64Array().findLastIndex((item) => item === 0) : number
> : ^^^^^^
>new Float64Array().findLastIndex : (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new Float64Array() : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array().findLastIndex : (predicate: (value: number, index: number, array: Float64Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new Float64Array() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: number, index: number, array: Float64Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === 0 : (item: number) => item is 0
> : ^ ^^^^^^^^^^^^^^^^^^^^^^
>item : number
@@ -548,14 +548,14 @@ new Float64Array().findLastIndex((item) => item === 0);
new BigInt64Array().findLastIndex((item) => item === BigInt(0));
>new BigInt64Array().findLastIndex((item) => item === BigInt(0)) : number
> : ^^^^^^
>new BigInt64Array().findLastIndex : (predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array().findLastIndex : (predicate: (value: bigint, index: number, array: BigInt64Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: bigint, index: number, array: BigInt64Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === BigInt(0) : (item: bigint) => boolean
> : ^ ^^^^^^^^^^^^^^^^^^^^
>item : bigint
@@ -574,14 +574,14 @@ new BigInt64Array().findLastIndex((item) => item === BigInt(0));
new BigUint64Array().findLastIndex((item) => item === BigInt(0));
>new BigUint64Array().findLastIndex((item) => item === BigInt(0)) : number
> : ^^^^^^
>new BigUint64Array().findLastIndex : (predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array().findLastIndex : (predicate: (value: bigint, index: number, array: BigUint64Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>findLastIndex : (predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^ ^^^^^
>findLastIndex : (predicate: (value: bigint, index: number, array: BigUint64Array<ArrayBuffer>) => unknown, thisArg?: any) => number
> : ^ ^^^ ^^ ^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^
>(item) => item === BigInt(0) : (item: bigint) => boolean
> : ^ ^^^^^^^^^^^^^^^^^^^^
>item : bigint

View File

@@ -1,16 +1,16 @@
indexAt.ts(1,5): error TS2550: Property 'at' does not exist on type 'number[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(2,7): error TS2550: Property 'at' does not exist on type '"foo"'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(3,17): error TS2550: Property 'at' does not exist on type 'Int8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(4,18): error TS2550: Property 'at' does not exist on type 'Uint8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(5,25): error TS2550: Property 'at' does not exist on type 'Uint8ClampedArray'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(6,18): error TS2550: Property 'at' does not exist on type 'Int16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(7,19): error TS2550: Property 'at' does not exist on type 'Uint16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(8,18): error TS2550: Property 'at' does not exist on type 'Int32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(9,19): error TS2550: Property 'at' does not exist on type 'Uint32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(10,20): error TS2550: Property 'at' does not exist on type 'Float32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(11,20): error TS2550: Property 'at' does not exist on type 'Float64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(12,21): error TS2550: Property 'at' does not exist on type 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(13,22): error TS2550: Property 'at' does not exist on type 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(3,17): error TS2550: Property 'at' does not exist on type 'Int8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(4,18): error TS2550: Property 'at' does not exist on type 'Uint8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(5,25): error TS2550: Property 'at' does not exist on type 'Uint8ClampedArray<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(6,18): error TS2550: Property 'at' does not exist on type 'Int16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(7,19): error TS2550: Property 'at' does not exist on type 'Uint16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(8,18): error TS2550: Property 'at' does not exist on type 'Int32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(9,19): error TS2550: Property 'at' does not exist on type 'Uint32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(10,20): error TS2550: Property 'at' does not exist on type 'Float32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(11,20): error TS2550: Property 'at' does not exist on type 'Float64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(12,21): error TS2550: Property 'at' does not exist on type 'BigInt64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
indexAt.ts(13,22): error TS2550: Property 'at' does not exist on type 'BigUint64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
==== indexAt.ts (13 errors) ====
@@ -22,35 +22,35 @@ indexAt.ts(13,22): error TS2550: Property 'at' does not exist on type 'BigUint64
!!! error TS2550: Property 'at' does not exist on type '"foo"'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Int8Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Int8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Int8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Uint8Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Uint8Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Uint8Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Uint8ClampedArray().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Uint8ClampedArray'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Uint8ClampedArray<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Int16Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Int16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Int16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Uint16Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Uint16Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Uint16Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Int32Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Int32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Int32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Uint32Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Uint32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Uint32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Float32Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Float32Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Float32Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new Float64Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'Float64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'Float64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new BigInt64Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'BigInt64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'BigInt64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
new BigUint64Array().at(0);
~~
!!! error TS2550: Property 'at' does not exist on type 'BigUint64Array'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.
!!! error TS2550: Property 'at' does not exist on type 'BigUint64Array<ArrayBuffer>'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2022' or later.

View File

@@ -32,8 +32,8 @@ new Int8Array().at(0);
> : ^^^
>new Int8Array().at : any
> : ^^^
>new Int8Array() : Int8Array
> : ^^^^^^^^^
>new Int8Array() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -46,8 +46,8 @@ new Uint8Array().at(0);
> : ^^^
>new Uint8Array().at : any
> : ^^^
>new Uint8Array() : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -60,8 +60,8 @@ new Uint8ClampedArray().at(0);
> : ^^^
>new Uint8ClampedArray().at : any
> : ^^^
>new Uint8ClampedArray() : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -74,8 +74,8 @@ new Int16Array().at(0);
> : ^^^
>new Int16Array().at : any
> : ^^^
>new Int16Array() : Int16Array
> : ^^^^^^^^^^
>new Int16Array() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -88,8 +88,8 @@ new Uint16Array().at(0);
> : ^^^
>new Uint16Array().at : any
> : ^^^
>new Uint16Array() : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -102,8 +102,8 @@ new Int32Array().at(0);
> : ^^^
>new Int32Array().at : any
> : ^^^
>new Int32Array() : Int32Array
> : ^^^^^^^^^^
>new Int32Array() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -116,8 +116,8 @@ new Uint32Array().at(0);
> : ^^^
>new Uint32Array().at : any
> : ^^^
>new Uint32Array() : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -130,8 +130,8 @@ new Float32Array().at(0);
> : ^^^
>new Float32Array().at : any
> : ^^^
>new Float32Array() : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -144,8 +144,8 @@ new Float64Array().at(0);
> : ^^^
>new Float64Array().at : any
> : ^^^
>new Float64Array() : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -158,8 +158,8 @@ new BigInt64Array().at(0);
> : ^^^
>new BigInt64Array().at : any
> : ^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>at : any
@@ -172,8 +172,8 @@ new BigUint64Array().at(0);
> : ^^^
>new BigUint64Array().at : any
> : ^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>at : any

View File

@@ -32,8 +32,8 @@ new Int8Array().at(0);
> : ^^^^^^
>new Int8Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Int8Array() : Int8Array
> : ^^^^^^^^^
>new Int8Array() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -46,8 +46,8 @@ new Uint8Array().at(0);
> : ^^^^^^
>new Uint8Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Uint8Array() : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -60,8 +60,8 @@ new Uint8ClampedArray().at(0);
> : ^^^^^^
>new Uint8ClampedArray().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -74,8 +74,8 @@ new Int16Array().at(0);
> : ^^^^^^
>new Int16Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Int16Array() : Int16Array
> : ^^^^^^^^^^
>new Int16Array() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -88,8 +88,8 @@ new Uint16Array().at(0);
> : ^^^^^^
>new Uint16Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Uint16Array() : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -102,8 +102,8 @@ new Int32Array().at(0);
> : ^^^^^^
>new Int32Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Int32Array() : Int32Array
> : ^^^^^^^^^^
>new Int32Array() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -116,8 +116,8 @@ new Uint32Array().at(0);
> : ^^^^^^
>new Uint32Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Uint32Array() : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -130,8 +130,8 @@ new Float32Array().at(0);
> : ^^^^^^
>new Float32Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Float32Array() : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -144,8 +144,8 @@ new Float64Array().at(0);
> : ^^^^^^
>new Float64Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Float64Array() : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -158,8 +158,8 @@ new BigInt64Array().at(0);
> : ^^^^^^
>new BigInt64Array().at : (index: number) => bigint | undefined
> : ^ ^^ ^^^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => bigint | undefined
@@ -172,8 +172,8 @@ new BigUint64Array().at(0);
> : ^^^^^^
>new BigUint64Array().at : (index: number) => bigint | undefined
> : ^ ^^ ^^^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => bigint | undefined

View File

@@ -32,8 +32,8 @@ new Int8Array().at(0);
> : ^^^^^^
>new Int8Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Int8Array() : Int8Array
> : ^^^^^^^^^
>new Int8Array() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -46,8 +46,8 @@ new Uint8Array().at(0);
> : ^^^^^^
>new Uint8Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Uint8Array() : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -60,8 +60,8 @@ new Uint8ClampedArray().at(0);
> : ^^^^^^
>new Uint8ClampedArray().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray() : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -74,8 +74,8 @@ new Int16Array().at(0);
> : ^^^^^^
>new Int16Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Int16Array() : Int16Array
> : ^^^^^^^^^^
>new Int16Array() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -88,8 +88,8 @@ new Uint16Array().at(0);
> : ^^^^^^
>new Uint16Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Uint16Array() : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -102,8 +102,8 @@ new Int32Array().at(0);
> : ^^^^^^
>new Int32Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Int32Array() : Int32Array
> : ^^^^^^^^^^
>new Int32Array() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -116,8 +116,8 @@ new Uint32Array().at(0);
> : ^^^^^^
>new Uint32Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Uint32Array() : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -130,8 +130,8 @@ new Float32Array().at(0);
> : ^^^^^^
>new Float32Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Float32Array() : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -144,8 +144,8 @@ new Float64Array().at(0);
> : ^^^^^^
>new Float64Array().at : (index: number) => number | undefined
> : ^ ^^ ^^^^^
>new Float64Array() : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => number | undefined
@@ -158,8 +158,8 @@ new BigInt64Array().at(0);
> : ^^^^^^
>new BigInt64Array().at : (index: number) => bigint | undefined
> : ^ ^^ ^^^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => bigint | undefined
@@ -172,8 +172,8 @@ new BigUint64Array().at(0);
> : ^^^^^^
>new BigUint64Array().at : (index: number) => bigint | undefined
> : ^ ^^ ^^^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>at : (index: number) => bigint | undefined

View File

@@ -66,6 +66,6 @@ export class Encoder<T> implements IEncoder<T> {
/**
* @param {T} value
*/
encode(value: T): Uint8Array;
encode(value: T): Uint8Array<ArrayBuffer>;
}
export type IEncoder<T> = import("./interface").Encoder<T>;

View File

@@ -21,14 +21,14 @@ export class Encoder {
* @param {T} value
*/
encode(value) {
>encode : (value: T) => Uint8Array
> : ^ ^^ ^^^^^^^^^^^^^^^
>encode : (value: T) => Uint8Array<ArrayBuffer>
> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>value : T
> : ^
return new Uint8Array(0)
>new Uint8Array(0) : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(0) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>0 : 0

File diff suppressed because one or more lines are too long

View File

@@ -4,78 +4,78 @@
function update(b: Readonly<Float32Array>) {
>update : (b: Readonly<Float32Array>) => void
> : ^ ^^ ^^^^^^^^^
>b : Readonly<Float32Array>
> : ^^^^^^^^^^^^^^^^^^^^^^
>b : Readonly<Float32Array<ArrayBuffer>>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const c = copy(b);
>c : Float32Array
> : ^^^^^^^^^^^^
>copy(b) : Float32Array
> : ^^^^^^^^^^^^
>copy : (a: Float32Array) => Float32Array
> : ^ ^^ ^^^^^^^^^^^^^^^^^
>b : Readonly<Float32Array>
> : ^^^^^^^^^^^^^^^^^^^^^^
>c : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>copy(b) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>copy : (a: Float32Array) => Float32Array<ArrayBuffer>
> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>b : Readonly<Float32Array<ArrayBuffer>>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
add(c, c);
>add(c, c) : void
> : ^^^^
>add : (a: Float32Array, b: Float32Array, c?: Float32Array) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^
>c : Float32Array
> : ^^^^^^^^^^^^
>c : Float32Array
> : ^^^^^^^^^^^^
>c : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>c : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
}
function add(a: Float32Array, b: Float32Array, c: Float32Array = a) {
>add : (a: Float32Array, b: Float32Array, c?: Float32Array) => void
> : ^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^
>a : Float32Array
> : ^^^^^^^^^^^^
>b : Float32Array
> : ^^^^^^^^^^^^
>c : Float32Array
> : ^^^^^^^^^^^^
>a : Float32Array
> : ^^^^^^^^^^^^
>a : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>b : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>c : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>a : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
c[0] = a[0] + b[0];
>c[0] = a[0] + b[0] : number
> : ^^^^^^
>c[0] : number
> : ^^^^^^
>c : Float32Array
> : ^^^^^^^^^^^^
>c : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>a[0] + b[0] : number
> : ^^^^^^
>a[0] : number
> : ^^^^^^
>a : Float32Array
> : ^^^^^^^^^^^^
>a : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>b[0] : number
> : ^^^^^^
>b : Float32Array
> : ^^^^^^^^^^^^
>b : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
}
function copy(a: Float32Array) {
>copy : (a: Float32Array) => Float32Array
> : ^ ^^ ^^^^^^^^^^^^^^^^^
>a : Float32Array
> : ^^^^^^^^^^^^
>copy : (a: Float32Array) => Float32Array<ArrayBuffer>
> : ^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>a : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
return new Float32Array(a);
>new Float32Array(a) : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array(a) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>a : Float32Array
> : ^^^^^^^^^^^^
>a : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
}

View File

@@ -0,0 +1,8 @@
//// [tests/cases/compiler/subclassUint8Array.ts] ////
=== subclassUint8Array.ts ===
class CustomBuffer extends Uint8Array {
>CustomBuffer : Symbol(CustomBuffer, Decl(subclassUint8Array.ts, 0, 0))
>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, --, --) ... and 3 more)
}

View File

@@ -0,0 +1,10 @@
//// [tests/cases/compiler/subclassUint8Array.ts] ////
=== subclassUint8Array.ts ===
class CustomBuffer extends Uint8Array {
>CustomBuffer : CustomBuffer
> : ^^^^^^^^^^^^
>Uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
}

View File

@@ -1,40 +1,40 @@
typedArrays-es5.ts(2,5): error TS2802: Type 'Float32Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(5,5): error TS2802: Type 'Float64Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(8,5): error TS2802: Type 'Int16Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(11,5): error TS2802: Type 'Int32Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(14,5): error TS2802: Type 'Int8Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(2,5): error TS2802: Type 'Float32Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(5,5): error TS2802: Type 'Float64Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(8,5): error TS2802: Type 'Int16Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(11,5): error TS2802: Type 'Int32Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(14,5): error TS2802: Type 'Int8Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(17,5): error TS2802: Type 'NodeList' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(20,5): error TS2802: Type 'Uint16Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(23,5): error TS2802: Type 'Uint32Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(26,5): error TS2802: Type 'Uint8Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(29,5): error TS2802: Type 'Uint8ClampedArray' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(20,5): error TS2802: Type 'Uint16Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(23,5): error TS2802: Type 'Uint32Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(26,5): error TS2802: Type 'Uint8Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
typedArrays-es5.ts(29,5): error TS2802: Type 'Uint8ClampedArray<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
==== typedArrays-es5.ts (10 errors) ====
const float32Array = new Float32Array(1);
[...float32Array];
~~~~~~~~~~~~
!!! error TS2802: Type 'Float32Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Float32Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const float64Array = new Float64Array(1);
[...float64Array];
~~~~~~~~~~~~
!!! error TS2802: Type 'Float64Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Float64Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const int16Array = new Int16Array(1);
[...int16Array];
~~~~~~~~~~
!!! error TS2802: Type 'Int16Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Int16Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const int32Array = new Int32Array(1);
[...int32Array];
~~~~~~~~~~
!!! error TS2802: Type 'Int32Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Int32Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const int8Array = new Int8Array(1);
[...int8Array];
~~~~~~~~~
!!! error TS2802: Type 'Int8Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Int8Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const nodeList = new NodeList();
[...nodeList];
@@ -44,22 +44,22 @@ typedArrays-es5.ts(29,5): error TS2802: Type 'Uint8ClampedArray' can only be ite
const uint16Array = new Uint16Array(1);
[...uint16Array];
~~~~~~~~~~~
!!! error TS2802: Type 'Uint16Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Uint16Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const uint32Array = new Uint32Array(1);
[...uint32Array];
~~~~~~~~~~~
!!! error TS2802: Type 'Uint32Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Uint32Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const uint8Array = new Uint8Array(1);
[...uint8Array];
~~~~~~~~~~
!!! error TS2802: Type 'Uint8Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Uint8Array<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const uint8ClampedArray = new Uint8ClampedArray(1);
[...uint8ClampedArray];
~~~~~~~~~~~~~~~~~
!!! error TS2802: Type 'Uint8ClampedArray' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
!!! error TS2802: Type 'Uint8ClampedArray<ArrayBuffer>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.

View File

@@ -2,10 +2,10 @@
=== typedArrays-es5.ts ===
const float32Array = new Float32Array(1);
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array(1) : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float32Array(1) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -16,14 +16,14 @@ const float32Array = new Float32Array(1);
> : ^^^^^
>...float32Array : any
> : ^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
const float64Array = new Float64Array(1);
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array(1) : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float64Array(1) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -34,14 +34,14 @@ const float64Array = new Float64Array(1);
> : ^^^^^
>...float64Array : any
> : ^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
const int16Array = new Int16Array(1);
>int16Array : Int16Array
> : ^^^^^^^^^^
>new Int16Array(1) : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int16Array(1) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -52,14 +52,14 @@ const int16Array = new Int16Array(1);
> : ^^^^^
>...int16Array : any
> : ^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
const int32Array = new Int32Array(1);
>int32Array : Int32Array
> : ^^^^^^^^^^
>new Int32Array(1) : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int32Array(1) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -70,14 +70,14 @@ const int32Array = new Int32Array(1);
> : ^^^^^
>...int32Array : any
> : ^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
const int8Array = new Int8Array(1);
>int8Array : Int8Array
> : ^^^^^^^^^
>new Int8Array(1) : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>new Int8Array(1) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -88,8 +88,8 @@ const int8Array = new Int8Array(1);
> : ^^^^^
>...int8Array : any
> : ^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
const nodeList = new NodeList();
>nodeList : NodeList
@@ -108,10 +108,10 @@ const nodeList = new NodeList();
> : ^^^^^^^^
const uint16Array = new Uint16Array(1);
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array(1) : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint16Array(1) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -122,14 +122,14 @@ const uint16Array = new Uint16Array(1);
> : ^^^^^
>...uint16Array : any
> : ^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
const uint32Array = new Uint32Array(1);
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array(1) : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint32Array(1) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -140,14 +140,14 @@ const uint32Array = new Uint32Array(1);
> : ^^^^^
>...uint32Array : any
> : ^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
const uint8Array = new Uint8Array(1);
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(1) : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array(1) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -158,14 +158,14 @@ const uint8Array = new Uint8Array(1);
> : ^^^^^
>...uint8Array : any
> : ^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
const uint8ClampedArray = new Uint8ClampedArray(1);
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(1) : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(1) : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -176,8 +176,8 @@ const uint8ClampedArray = new Uint8ClampedArray(1);
> : ^^^^^
>...uint8ClampedArray : any
> : ^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@@ -2,10 +2,10 @@
=== typedArrays-es6.ts ===
const float32Array = new Float32Array(1);
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array(1) : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float32Array(1) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -16,14 +16,14 @@ const float32Array = new Float32Array(1);
> : ^^^^^^^^
>...float32Array : number
> : ^^^^^^
>float32Array : Float32Array
> : ^^^^^^^^^^^^
>float32Array : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
const float64Array = new Float64Array(1);
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array(1) : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float64Array(1) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -34,14 +34,14 @@ const float64Array = new Float64Array(1);
> : ^^^^^^^^
>...float64Array : number
> : ^^^^^^
>float64Array : Float64Array
> : ^^^^^^^^^^^^
>float64Array : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
const int16Array = new Int16Array(1);
>int16Array : Int16Array
> : ^^^^^^^^^^
>new Int16Array(1) : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int16Array(1) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -52,14 +52,14 @@ const int16Array = new Int16Array(1);
> : ^^^^^^^^
>...int16Array : number
> : ^^^^^^
>int16Array : Int16Array
> : ^^^^^^^^^^
>int16Array : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
const int32Array = new Int32Array(1);
>int32Array : Int32Array
> : ^^^^^^^^^^
>new Int32Array(1) : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int32Array(1) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -70,14 +70,14 @@ const int32Array = new Int32Array(1);
> : ^^^^^^^^
>...int32Array : number
> : ^^^^^^
>int32Array : Int32Array
> : ^^^^^^^^^^
>int32Array : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
const int8Array = new Int8Array(1);
>int8Array : Int8Array
> : ^^^^^^^^^
>new Int8Array(1) : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>new Int8Array(1) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -88,8 +88,8 @@ const int8Array = new Int8Array(1);
> : ^^^^^^^^
>...int8Array : number
> : ^^^^^^
>int8Array : Int8Array
> : ^^^^^^^^^
>int8Array : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
const nodeList = new NodeList();
>nodeList : NodeList
@@ -108,10 +108,10 @@ const nodeList = new NodeList();
> : ^^^^^^^^
const uint16Array = new Uint16Array(1);
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array(1) : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint16Array(1) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -122,14 +122,14 @@ const uint16Array = new Uint16Array(1);
> : ^^^^^^^^
>...uint16Array : number
> : ^^^^^^
>uint16Array : Uint16Array
> : ^^^^^^^^^^^
>uint16Array : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
const uint32Array = new Uint32Array(1);
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array(1) : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint32Array(1) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -140,14 +140,14 @@ const uint32Array = new Uint32Array(1);
> : ^^^^^^^^
>...uint32Array : number
> : ^^^^^^
>uint32Array : Uint32Array
> : ^^^^^^^^^^^
>uint32Array : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
const uint8Array = new Uint8Array(1);
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(1) : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array(1) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -158,14 +158,14 @@ const uint8Array = new Uint8Array(1);
> : ^^^^^^^^
>...uint8Array : number
> : ^^^^^^
>uint8Array : Uint8Array
> : ^^^^^^^^^^
>uint8Array : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
const uint8ClampedArray = new Uint8ClampedArray(1);
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(1) : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(1) : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>1 : 1
@@ -176,6 +176,6 @@ const uint8ClampedArray = new Uint8ClampedArray(1);
> : ^^^^^^^^
>...uint8ClampedArray : number
> : ^^^^^^
>uint8ClampedArray : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>uint8ClampedArray : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@@ -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<number>) {
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<T>(obj:ArrayLike<T>, 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<number>, 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<number>, 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<T>(obj:ArrayLike<T>, 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))

File diff suppressed because it is too large Load Diff

View File

@@ -1,193 +1,193 @@
typedArraysCrossAssignability01.ts(13,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Int8Array'.
typedArraysCrossAssignability01.ts(13,5): error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8Array"' is not assignable to type '"Int8Array"'.
typedArraysCrossAssignability01.ts(14,5): error TS2322: Type 'Int16Array' is not assignable to type 'Int8Array'.
typedArraysCrossAssignability01.ts(14,5): error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int16Array"' is not assignable to type '"Int8Array"'.
typedArraysCrossAssignability01.ts(15,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Int8Array'.
typedArraysCrossAssignability01.ts(15,5): error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint16Array"' is not assignable to type '"Int8Array"'.
typedArraysCrossAssignability01.ts(16,5): error TS2322: Type 'Int32Array' is not assignable to type 'Int8Array'.
typedArraysCrossAssignability01.ts(16,5): error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int32Array"' is not assignable to type '"Int8Array"'.
typedArraysCrossAssignability01.ts(17,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Int8Array'.
typedArraysCrossAssignability01.ts(17,5): error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint32Array"' is not assignable to type '"Int8Array"'.
typedArraysCrossAssignability01.ts(18,5): error TS2322: Type 'Float32Array' is not assignable to type 'Int8Array'.
typedArraysCrossAssignability01.ts(18,5): error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float32Array"' is not assignable to type '"Int8Array"'.
typedArraysCrossAssignability01.ts(19,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int8Array'.
typedArraysCrossAssignability01.ts(19,5): error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float64Array"' is not assignable to type '"Int8Array"'.
typedArraysCrossAssignability01.ts(20,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int8Array'.
typedArraysCrossAssignability01.ts(20,5): error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8ClampedArray"' is not assignable to type '"Int8Array"'.
typedArraysCrossAssignability01.ts(22,5): error TS2322: Type 'Int8Array' is not assignable to type 'Uint8Array'.
typedArraysCrossAssignability01.ts(22,5): error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int8Array"' is not assignable to type '"Uint8Array"'.
typedArraysCrossAssignability01.ts(24,5): error TS2322: Type 'Int16Array' is not assignable to type 'Uint8Array'.
typedArraysCrossAssignability01.ts(24,5): error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int16Array"' is not assignable to type '"Uint8Array"'.
typedArraysCrossAssignability01.ts(25,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Uint8Array'.
typedArraysCrossAssignability01.ts(25,5): error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint16Array"' is not assignable to type '"Uint8Array"'.
typedArraysCrossAssignability01.ts(26,5): error TS2322: Type 'Int32Array' is not assignable to type 'Uint8Array'.
typedArraysCrossAssignability01.ts(26,5): error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int32Array"' is not assignable to type '"Uint8Array"'.
typedArraysCrossAssignability01.ts(27,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Uint8Array'.
typedArraysCrossAssignability01.ts(27,5): error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint32Array"' is not assignable to type '"Uint8Array"'.
typedArraysCrossAssignability01.ts(28,5): error TS2322: Type 'Float32Array' is not assignable to type 'Uint8Array'.
typedArraysCrossAssignability01.ts(28,5): error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float32Array"' is not assignable to type '"Uint8Array"'.
typedArraysCrossAssignability01.ts(29,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint8Array'.
typedArraysCrossAssignability01.ts(29,5): error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float64Array"' is not assignable to type '"Uint8Array"'.
typedArraysCrossAssignability01.ts(30,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Uint8Array'.
typedArraysCrossAssignability01.ts(30,5): error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8ClampedArray"' is not assignable to type '"Uint8Array"'.
typedArraysCrossAssignability01.ts(32,5): error TS2322: Type 'Int8Array' is not assignable to type 'Int16Array'.
typedArraysCrossAssignability01.ts(32,5): error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int8Array"' is not assignable to type '"Int16Array"'.
typedArraysCrossAssignability01.ts(33,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Int16Array'.
typedArraysCrossAssignability01.ts(33,5): error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8Array"' is not assignable to type '"Int16Array"'.
typedArraysCrossAssignability01.ts(35,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Int16Array'.
typedArraysCrossAssignability01.ts(35,5): error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint16Array"' is not assignable to type '"Int16Array"'.
typedArraysCrossAssignability01.ts(36,5): error TS2322: Type 'Int32Array' is not assignable to type 'Int16Array'.
typedArraysCrossAssignability01.ts(36,5): error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int32Array"' is not assignable to type '"Int16Array"'.
typedArraysCrossAssignability01.ts(37,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Int16Array'.
typedArraysCrossAssignability01.ts(37,5): error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint32Array"' is not assignable to type '"Int16Array"'.
typedArraysCrossAssignability01.ts(38,5): error TS2322: Type 'Float32Array' is not assignable to type 'Int16Array'.
typedArraysCrossAssignability01.ts(38,5): error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float32Array"' is not assignable to type '"Int16Array"'.
typedArraysCrossAssignability01.ts(39,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int16Array'.
typedArraysCrossAssignability01.ts(39,5): error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float64Array"' is not assignable to type '"Int16Array"'.
typedArraysCrossAssignability01.ts(40,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int16Array'.
typedArraysCrossAssignability01.ts(40,5): error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8ClampedArray"' is not assignable to type '"Int16Array"'.
typedArraysCrossAssignability01.ts(42,5): error TS2322: Type 'Int8Array' is not assignable to type 'Uint16Array'.
typedArraysCrossAssignability01.ts(42,5): error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int8Array"' is not assignable to type '"Uint16Array"'.
typedArraysCrossAssignability01.ts(43,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Uint16Array'.
typedArraysCrossAssignability01.ts(43,5): error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8Array"' is not assignable to type '"Uint16Array"'.
typedArraysCrossAssignability01.ts(44,5): error TS2322: Type 'Int16Array' is not assignable to type 'Uint16Array'.
typedArraysCrossAssignability01.ts(44,5): error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int16Array"' is not assignable to type '"Uint16Array"'.
typedArraysCrossAssignability01.ts(46,5): error TS2322: Type 'Int32Array' is not assignable to type 'Uint16Array'.
typedArraysCrossAssignability01.ts(46,5): error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int32Array"' is not assignable to type '"Uint16Array"'.
typedArraysCrossAssignability01.ts(47,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Uint16Array'.
typedArraysCrossAssignability01.ts(47,5): error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint32Array"' is not assignable to type '"Uint16Array"'.
typedArraysCrossAssignability01.ts(48,5): error TS2322: Type 'Float32Array' is not assignable to type 'Uint16Array'.
typedArraysCrossAssignability01.ts(48,5): error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float32Array"' is not assignable to type '"Uint16Array"'.
typedArraysCrossAssignability01.ts(49,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint16Array'.
typedArraysCrossAssignability01.ts(49,5): error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float64Array"' is not assignable to type '"Uint16Array"'.
typedArraysCrossAssignability01.ts(50,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Uint16Array'.
typedArraysCrossAssignability01.ts(50,5): error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8ClampedArray"' is not assignable to type '"Uint16Array"'.
typedArraysCrossAssignability01.ts(52,5): error TS2322: Type 'Int8Array' is not assignable to type 'Int32Array'.
typedArraysCrossAssignability01.ts(52,5): error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int8Array"' is not assignable to type '"Int32Array"'.
typedArraysCrossAssignability01.ts(53,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Int32Array'.
typedArraysCrossAssignability01.ts(53,5): error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8Array"' is not assignable to type '"Int32Array"'.
typedArraysCrossAssignability01.ts(54,5): error TS2322: Type 'Int16Array' is not assignable to type 'Int32Array'.
typedArraysCrossAssignability01.ts(54,5): error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int16Array"' is not assignable to type '"Int32Array"'.
typedArraysCrossAssignability01.ts(55,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Int32Array'.
typedArraysCrossAssignability01.ts(55,5): error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint16Array"' is not assignable to type '"Int32Array"'.
typedArraysCrossAssignability01.ts(57,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Int32Array'.
typedArraysCrossAssignability01.ts(57,5): error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint32Array"' is not assignable to type '"Int32Array"'.
typedArraysCrossAssignability01.ts(58,5): error TS2322: Type 'Float32Array' is not assignable to type 'Int32Array'.
typedArraysCrossAssignability01.ts(58,5): error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float32Array"' is not assignable to type '"Int32Array"'.
typedArraysCrossAssignability01.ts(59,5): error TS2322: Type 'Float64Array' is not assignable to type 'Int32Array'.
typedArraysCrossAssignability01.ts(59,5): error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float64Array"' is not assignable to type '"Int32Array"'.
typedArraysCrossAssignability01.ts(60,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int32Array'.
typedArraysCrossAssignability01.ts(60,5): error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8ClampedArray"' is not assignable to type '"Int32Array"'.
typedArraysCrossAssignability01.ts(62,5): error TS2322: Type 'Int8Array' is not assignable to type 'Float32Array'.
typedArraysCrossAssignability01.ts(62,5): error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int8Array"' is not assignable to type '"Float32Array"'.
typedArraysCrossAssignability01.ts(63,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Float32Array'.
typedArraysCrossAssignability01.ts(63,5): error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8Array"' is not assignable to type '"Float32Array"'.
typedArraysCrossAssignability01.ts(64,5): error TS2322: Type 'Int16Array' is not assignable to type 'Float32Array'.
typedArraysCrossAssignability01.ts(64,5): error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int16Array"' is not assignable to type '"Float32Array"'.
typedArraysCrossAssignability01.ts(65,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Float32Array'.
typedArraysCrossAssignability01.ts(65,5): error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint16Array"' is not assignable to type '"Float32Array"'.
typedArraysCrossAssignability01.ts(66,5): error TS2322: Type 'Int32Array' is not assignable to type 'Float32Array'.
typedArraysCrossAssignability01.ts(66,5): error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int32Array"' is not assignable to type '"Float32Array"'.
typedArraysCrossAssignability01.ts(67,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Float32Array'.
typedArraysCrossAssignability01.ts(67,5): error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint32Array"' is not assignable to type '"Float32Array"'.
typedArraysCrossAssignability01.ts(69,5): error TS2322: Type 'Float64Array' is not assignable to type 'Float32Array'.
typedArraysCrossAssignability01.ts(69,5): error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float64Array"' is not assignable to type '"Float32Array"'.
typedArraysCrossAssignability01.ts(70,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Float32Array'.
typedArraysCrossAssignability01.ts(70,5): error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8ClampedArray"' is not assignable to type '"Float32Array"'.
typedArraysCrossAssignability01.ts(72,5): error TS2322: Type 'Int8Array' is not assignable to type 'Float64Array'.
typedArraysCrossAssignability01.ts(72,5): error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int8Array"' is not assignable to type '"Float64Array"'.
typedArraysCrossAssignability01.ts(73,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Float64Array'.
typedArraysCrossAssignability01.ts(73,5): error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8Array"' is not assignable to type '"Float64Array"'.
typedArraysCrossAssignability01.ts(74,5): error TS2322: Type 'Int16Array' is not assignable to type 'Float64Array'.
typedArraysCrossAssignability01.ts(74,5): error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int16Array"' is not assignable to type '"Float64Array"'.
typedArraysCrossAssignability01.ts(75,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Float64Array'.
typedArraysCrossAssignability01.ts(75,5): error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint16Array"' is not assignable to type '"Float64Array"'.
typedArraysCrossAssignability01.ts(76,5): error TS2322: Type 'Int32Array' is not assignable to type 'Float64Array'.
typedArraysCrossAssignability01.ts(76,5): error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int32Array"' is not assignable to type '"Float64Array"'.
typedArraysCrossAssignability01.ts(77,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Float64Array'.
typedArraysCrossAssignability01.ts(77,5): error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint32Array"' is not assignable to type '"Float64Array"'.
typedArraysCrossAssignability01.ts(78,5): error TS2322: Type 'Float32Array' is not assignable to type 'Float64Array'.
typedArraysCrossAssignability01.ts(78,5): error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float32Array"' is not assignable to type '"Float64Array"'.
typedArraysCrossAssignability01.ts(80,5): error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Float64Array'.
typedArraysCrossAssignability01.ts(80,5): error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8ClampedArray"' is not assignable to type '"Float64Array"'.
typedArraysCrossAssignability01.ts(82,5): error TS2322: Type 'Int8Array' is not assignable to type 'Uint8ClampedArray'.
typedArraysCrossAssignability01.ts(82,5): error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int8Array"' is not assignable to type '"Uint8ClampedArray"'.
typedArraysCrossAssignability01.ts(83,5): error TS2322: Type 'Uint8Array' is not assignable to type 'Uint8ClampedArray'.
typedArraysCrossAssignability01.ts(83,5): error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint8Array"' is not assignable to type '"Uint8ClampedArray"'.
typedArraysCrossAssignability01.ts(84,5): error TS2322: Type 'Int16Array' is not assignable to type 'Uint8ClampedArray'.
typedArraysCrossAssignability01.ts(84,5): error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int16Array"' is not assignable to type '"Uint8ClampedArray"'.
typedArraysCrossAssignability01.ts(85,5): error TS2322: Type 'Uint16Array' is not assignable to type 'Uint8ClampedArray'.
typedArraysCrossAssignability01.ts(85,5): error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint16Array"' is not assignable to type '"Uint8ClampedArray"'.
typedArraysCrossAssignability01.ts(86,5): error TS2322: Type 'Int32Array' is not assignable to type 'Uint8ClampedArray'.
typedArraysCrossAssignability01.ts(86,5): error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Int32Array"' is not assignable to type '"Uint8ClampedArray"'.
typedArraysCrossAssignability01.ts(87,5): error TS2322: Type 'Uint32Array' is not assignable to type 'Uint8ClampedArray'.
typedArraysCrossAssignability01.ts(87,5): error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Uint32Array"' is not assignable to type '"Uint8ClampedArray"'.
typedArraysCrossAssignability01.ts(88,5): error TS2322: Type 'Float32Array' is not assignable to type 'Uint8ClampedArray'.
typedArraysCrossAssignability01.ts(88,5): error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float32Array"' is not assignable to type '"Uint8ClampedArray"'.
typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is not assignable to type 'Uint8ClampedArray'.
typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type '"Float64Array"' is not assignable to type '"Uint8ClampedArray"'.
@@ -207,335 +207,335 @@ typedArraysCrossAssignability01.ts(89,5): error TS2322: Type 'Float64Array' is n
arr_Int8Array = arr_Int8Array;
arr_Int8Array = arr_Uint8Array;
~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8Array' is not assignable to type 'Int8Array'.
!!! error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Int8Array"'.
arr_Int8Array = arr_Int16Array;
~~~~~~~~~~~~~
!!! error TS2322: Type 'Int16Array' is not assignable to type 'Int8Array'.
!!! error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Int8Array"'.
arr_Int8Array = arr_Uint16Array;
~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint16Array' is not assignable to type 'Int8Array'.
!!! error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Int8Array"'.
arr_Int8Array = arr_Int32Array;
~~~~~~~~~~~~~
!!! error TS2322: Type 'Int32Array' is not assignable to type 'Int8Array'.
!!! error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Int8Array"'.
arr_Int8Array = arr_Uint32Array;
~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint32Array' is not assignable to type 'Int8Array'.
!!! error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Int8Array"'.
arr_Int8Array = arr_Float32Array;
~~~~~~~~~~~~~
!!! error TS2322: Type 'Float32Array' is not assignable to type 'Int8Array'.
!!! error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Int8Array"'.
arr_Int8Array = arr_Float64Array;
~~~~~~~~~~~~~
!!! error TS2322: Type 'Float64Array' is not assignable to type 'Int8Array'.
!!! error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Int8Array"'.
arr_Int8Array = arr_Uint8ClampedArray;
~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int8Array'.
!!! error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Int8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Int8Array"'.
arr_Uint8Array = arr_Int8Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int8Array' is not assignable to type 'Uint8Array'.
!!! error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Uint8Array"'.
arr_Uint8Array = arr_Uint8Array;
arr_Uint8Array = arr_Int16Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int16Array' is not assignable to type 'Uint8Array'.
!!! error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Uint8Array"'.
arr_Uint8Array = arr_Uint16Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint16Array' is not assignable to type 'Uint8Array'.
!!! error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Uint8Array"'.
arr_Uint8Array = arr_Int32Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int32Array' is not assignable to type 'Uint8Array'.
!!! error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Uint8Array"'.
arr_Uint8Array = arr_Uint32Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint32Array' is not assignable to type 'Uint8Array'.
!!! error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Uint8Array"'.
arr_Uint8Array = arr_Float32Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float32Array' is not assignable to type 'Uint8Array'.
!!! error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Uint8Array"'.
arr_Uint8Array = arr_Float64Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float64Array' is not assignable to type 'Uint8Array'.
!!! error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Uint8Array"'.
arr_Uint8Array = arr_Uint8ClampedArray;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Uint8Array'.
!!! error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Uint8Array"'.
arr_Int16Array = arr_Int8Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int8Array' is not assignable to type 'Int16Array'.
!!! error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Int16Array"'.
arr_Int16Array = arr_Uint8Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8Array' is not assignable to type 'Int16Array'.
!!! error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Int16Array"'.
arr_Int16Array = arr_Int16Array;
arr_Int16Array = arr_Uint16Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint16Array' is not assignable to type 'Int16Array'.
!!! error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Int16Array"'.
arr_Int16Array = arr_Int32Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int32Array' is not assignable to type 'Int16Array'.
!!! error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Int16Array"'.
arr_Int16Array = arr_Uint32Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint32Array' is not assignable to type 'Int16Array'.
!!! error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Int16Array"'.
arr_Int16Array = arr_Float32Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float32Array' is not assignable to type 'Int16Array'.
!!! error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Int16Array"'.
arr_Int16Array = arr_Float64Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float64Array' is not assignable to type 'Int16Array'.
!!! error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Int16Array"'.
arr_Int16Array = arr_Uint8ClampedArray;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int16Array'.
!!! error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Int16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Int16Array"'.
arr_Uint16Array = arr_Int8Array;
~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int8Array' is not assignable to type 'Uint16Array'.
!!! error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Uint16Array"'.
arr_Uint16Array = arr_Uint8Array;
~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8Array' is not assignable to type 'Uint16Array'.
!!! error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Uint16Array"'.
arr_Uint16Array = arr_Int16Array;
~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int16Array' is not assignable to type 'Uint16Array'.
!!! error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Uint16Array"'.
arr_Uint16Array = arr_Uint16Array;
arr_Uint16Array = arr_Int32Array;
~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int32Array' is not assignable to type 'Uint16Array'.
!!! error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Uint16Array"'.
arr_Uint16Array = arr_Uint32Array;
~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint32Array' is not assignable to type 'Uint16Array'.
!!! error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Uint16Array"'.
arr_Uint16Array = arr_Float32Array;
~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float32Array' is not assignable to type 'Uint16Array'.
!!! error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Uint16Array"'.
arr_Uint16Array = arr_Float64Array;
~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float64Array' is not assignable to type 'Uint16Array'.
!!! error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Uint16Array"'.
arr_Uint16Array = arr_Uint8ClampedArray;
~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Uint16Array'.
!!! error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Uint16Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Uint16Array"'.
arr_Int32Array = arr_Int8Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int8Array' is not assignable to type 'Int32Array'.
!!! error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Int32Array"'.
arr_Int32Array = arr_Uint8Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8Array' is not assignable to type 'Int32Array'.
!!! error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Int32Array"'.
arr_Int32Array = arr_Int16Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int16Array' is not assignable to type 'Int32Array'.
!!! error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Int32Array"'.
arr_Int32Array = arr_Uint16Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint16Array' is not assignable to type 'Int32Array'.
!!! error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Int32Array"'.
arr_Int32Array = arr_Int32Array;
arr_Int32Array = arr_Uint32Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint32Array' is not assignable to type 'Int32Array'.
!!! error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Int32Array"'.
arr_Int32Array = arr_Float32Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float32Array' is not assignable to type 'Int32Array'.
!!! error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Int32Array"'.
arr_Int32Array = arr_Float64Array;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float64Array' is not assignable to type 'Int32Array'.
!!! error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Int32Array"'.
arr_Int32Array = arr_Uint8ClampedArray;
~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Int32Array'.
!!! error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Int32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Int32Array"'.
arr_Float32Array = arr_Int8Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int8Array' is not assignable to type 'Float32Array'.
!!! error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Float32Array"'.
arr_Float32Array = arr_Uint8Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8Array' is not assignable to type 'Float32Array'.
!!! error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Float32Array"'.
arr_Float32Array = arr_Int16Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int16Array' is not assignable to type 'Float32Array'.
!!! error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Float32Array"'.
arr_Float32Array = arr_Uint16Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint16Array' is not assignable to type 'Float32Array'.
!!! error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Float32Array"'.
arr_Float32Array = arr_Int32Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int32Array' is not assignable to type 'Float32Array'.
!!! error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Float32Array"'.
arr_Float32Array = arr_Uint32Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint32Array' is not assignable to type 'Float32Array'.
!!! error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Float32Array"'.
arr_Float32Array = arr_Float32Array;
arr_Float32Array = arr_Float64Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float64Array' is not assignable to type 'Float32Array'.
!!! error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Float32Array"'.
arr_Float32Array = arr_Uint8ClampedArray;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Float32Array'.
!!! error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Float32Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Float32Array"'.
arr_Float64Array = arr_Int8Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int8Array' is not assignable to type 'Float64Array'.
!!! error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Float64Array"'.
arr_Float64Array = arr_Uint8Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8Array' is not assignable to type 'Float64Array'.
!!! error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Float64Array"'.
arr_Float64Array = arr_Int16Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int16Array' is not assignable to type 'Float64Array'.
!!! error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Float64Array"'.
arr_Float64Array = arr_Uint16Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint16Array' is not assignable to type 'Float64Array'.
!!! error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Float64Array"'.
arr_Float64Array = arr_Int32Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int32Array' is not assignable to type 'Float64Array'.
!!! error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Float64Array"'.
arr_Float64Array = arr_Uint32Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint32Array' is not assignable to type 'Float64Array'.
!!! error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Float64Array"'.
arr_Float64Array = arr_Float32Array;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float32Array' is not assignable to type 'Float64Array'.
!!! error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Float64Array"'.
arr_Float64Array = arr_Float64Array;
arr_Float64Array = arr_Uint8ClampedArray;
~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8ClampedArray' is not assignable to type 'Float64Array'.
!!! error TS2322: Type 'Uint8ClampedArray<ArrayBuffer>' is not assignable to type 'Float64Array<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8ClampedArray"' is not assignable to type '"Float64Array"'.
arr_Uint8ClampedArray = arr_Int8Array;
~~~~~~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int8Array' is not assignable to type 'Uint8ClampedArray'.
!!! error TS2322: Type 'Int8Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int8Array"' is not assignable to type '"Uint8ClampedArray"'.
arr_Uint8ClampedArray = arr_Uint8Array;
~~~~~~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint8Array' is not assignable to type 'Uint8ClampedArray'.
!!! error TS2322: Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint8Array"' is not assignable to type '"Uint8ClampedArray"'.
arr_Uint8ClampedArray = arr_Int16Array;
~~~~~~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int16Array' is not assignable to type 'Uint8ClampedArray'.
!!! error TS2322: Type 'Int16Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int16Array"' is not assignable to type '"Uint8ClampedArray"'.
arr_Uint8ClampedArray = arr_Uint16Array;
~~~~~~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint16Array' is not assignable to type 'Uint8ClampedArray'.
!!! error TS2322: Type 'Uint16Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint16Array"' is not assignable to type '"Uint8ClampedArray"'.
arr_Uint8ClampedArray = arr_Int32Array;
~~~~~~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Int32Array' is not assignable to type 'Uint8ClampedArray'.
!!! error TS2322: Type 'Int32Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Int32Array"' is not assignable to type '"Uint8ClampedArray"'.
arr_Uint8ClampedArray = arr_Uint32Array;
~~~~~~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Uint32Array' is not assignable to type 'Uint8ClampedArray'.
!!! error TS2322: Type 'Uint32Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Uint32Array"' is not assignable to type '"Uint8ClampedArray"'.
arr_Uint8ClampedArray = arr_Float32Array;
~~~~~~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float32Array' is not assignable to type 'Uint8ClampedArray'.
!!! error TS2322: Type 'Float32Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float32Array"' is not assignable to type '"Uint8ClampedArray"'.
arr_Uint8ClampedArray = arr_Float64Array;
~~~~~~~~~~~~~~~~~~~~~
!!! error TS2322: Type 'Float64Array' is not assignable to type 'Uint8ClampedArray'.
!!! error TS2322: Type 'Float64Array<ArrayBuffer>' is not assignable to type 'Uint8ClampedArray<ArrayBuffer>'.
!!! error TS2322: Types of property '[Symbol.toStringTag]' are incompatible.
!!! error TS2322: Type '"Float64Array"' is not assignable to type '"Uint8ClampedArray"'.
arr_Uint8ClampedArray = arr_Uint8ClampedArray;

View File

@@ -6,46 +6,46 @@ function int8ArraySubarray() {
> : ^^^^^^^^^^
var arr = new Int8Array(10);
>arr : Int8Array
> : ^^^^^^^^^
>new Int8Array(10) : Int8Array
> : ^^^^^^^^^
>arr : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>new Int8Array(10) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Int8Array
> : ^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int8Array
> : ^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Int8Array
> : ^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int8Array
> : ^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Int8Array
> : ^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int8Array
> : ^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10
@@ -57,46 +57,46 @@ function uint8ArraySubarray() {
> : ^^^^^^^^^^
var arr = new Uint8Array(10);
>arr : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array(10) : Uint8Array
> : ^^^^^^^^^^
>arr : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array(10) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Uint8Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint8Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Uint8Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint8Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Uint8Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint8Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10
@@ -108,46 +108,46 @@ function uint8ClampedArraySubarray() {
> : ^^^^^^^^^^
var arr = new Uint8ClampedArray(10);
>arr : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(10) : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>arr : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8ClampedArray(10) : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Uint8ClampedArray : Uint8ClampedArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8ClampedArray
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8ClampedArray
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8ClampedArray<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8ClampedArray<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8ClampedArray
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8ClampedArray
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8ClampedArray<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8ClampedArray<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8ClampedArray
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint8ClampedArray
> : ^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8ClampedArray
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint8ClampedArray<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint8ClampedArray<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint8ClampedArray<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10
@@ -159,46 +159,46 @@ function int16ArraySubarray() {
> : ^^^^^^^^^^
var arr = new Int16Array(10);
>arr : Int16Array
> : ^^^^^^^^^^
>new Int16Array(10) : Int16Array
> : ^^^^^^^^^^
>arr : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int16Array(10) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Int16Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int16Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Int16Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int16Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Int16Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int16Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10
@@ -210,46 +210,46 @@ function uint16ArraySubarray() {
> : ^^^^^^^^^^
var arr = new Uint16Array(10);
>arr : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array(10) : Uint16Array
> : ^^^^^^^^^^^
>arr : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint16Array(10) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Uint16Array
> : ^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint16Array
> : ^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Uint16Array
> : ^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint16Array
> : ^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Uint16Array
> : ^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint16Array
> : ^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint16Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint16Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10
@@ -261,46 +261,46 @@ function int32ArraySubarray() {
> : ^^^^^^^^^^
var arr = new Int32Array(10);
>arr : Int32Array
> : ^^^^^^^^^^
>new Int32Array(10) : Int32Array
> : ^^^^^^^^^^
>arr : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int32Array(10) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Int32Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int32Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Int32Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int32Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Int32Array
> : ^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Int32Array
> : ^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Int32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Int32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10
@@ -312,46 +312,46 @@ function uint32ArraySubarray() {
> : ^^^^^^^^^^
var arr = new Uint32Array(10);
>arr : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array(10) : Uint32Array
> : ^^^^^^^^^^^
>arr : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint32Array(10) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Uint32Array
> : ^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint32Array
> : ^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Uint32Array
> : ^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint32Array
> : ^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Uint32Array
> : ^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Uint32Array
> : ^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Uint32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Uint32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10
@@ -363,46 +363,46 @@ function float32ArraySubarray() {
> : ^^^^^^^^^^
var arr = new Float32Array(10);
>arr : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array(10) : Float32Array
> : ^^^^^^^^^^^^
>arr : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float32Array(10) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Float32Array
> : ^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Float32Array
> : ^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Float32Array
> : ^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Float32Array
> : ^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Float32Array
> : ^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Float32Array
> : ^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float32Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float32Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10
@@ -414,46 +414,46 @@ function float64ArraySubarray() {
> : ^^^^^^^^^^
var arr = new Float64Array(10);
>arr : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array(10) : Float64Array
> : ^^^^^^^^^^^^
>arr : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float64Array(10) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>10 : 10
> : ^^
arr.subarray();
>arr.subarray() : Float64Array
> : ^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Float64Array
> : ^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
arr.subarray(0);
>arr.subarray(0) : Float64Array
> : ^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Float64Array
> : ^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
arr.subarray(0, 10);
>arr.subarray(0, 10) : Float64Array
> : ^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr : Float64Array
> : ^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float64Array
> : ^ ^^^ ^^ ^^^ ^^^^^
>arr.subarray(0, 10) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>arr.subarray : (begin?: number, end?: number) => Float64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>arr : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>subarray : (begin?: number, end?: number) => Float64Array<ArrayBuffer>
> : ^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>0 : 0
> : ^
>10 : 10

View File

@@ -1,164 +1,168 @@
//// [tests/cases/compiler/valueOfTypedArray.ts] ////
=== Performance Stats ===
Type Count: 1,000
Instantiation count: 2,500
=== valueOfTypedArray.ts ===
// All declarations should pass, as valueOf has been specialized for all TypedArrays
const typedArray0: Int8Array = (new Int8Array()).valueOf();
>typedArray0 : Int8Array
> : ^^^^^^^^^
>(new Int8Array()).valueOf() : Int8Array
> : ^^^^^^^^^
>(new Int8Array()).valueOf : () => Int8Array
> : ^^^^^^
>(new Int8Array()) : Int8Array
> : ^^^^^^^^^
>new Int8Array() : Int8Array
> : ^^^^^^^^^
>typedArray0 : Int8Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Int8Array()).valueOf() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>(new Int8Array()).valueOf : () => Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Int8Array()) : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>new Int8Array() : Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^
>Int8Array : Int8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^
>valueOf : () => Int8Array
> : ^^^^^^
>valueOf : () => Int8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray1: Uint8Array = (new Uint8Array()).valueOf();
>typedArray1 : Uint8Array
> : ^^^^^^^^^^
>(new Uint8Array()).valueOf() : Uint8Array
> : ^^^^^^^^^^
>(new Uint8Array()).valueOf : () => Uint8Array
> : ^^^^^^
>(new Uint8Array()) : Uint8Array
> : ^^^^^^^^^^
>new Uint8Array() : Uint8Array
> : ^^^^^^^^^^
>typedArray1 : Uint8Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint8Array()).valueOf() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint8Array()).valueOf : () => Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint8Array()) : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Uint8Array() : Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Uint8Array : Uint8ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => Uint8Array
> : ^^^^^^
>valueOf : () => Uint8Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray2: Int16Array = (new Int16Array()).valueOf();
>typedArray2 : Int16Array
> : ^^^^^^^^^^
>(new Int16Array()).valueOf() : Int16Array
> : ^^^^^^^^^^
>(new Int16Array()).valueOf : () => Int16Array
> : ^^^^^^
>(new Int16Array()) : Int16Array
> : ^^^^^^^^^^
>new Int16Array() : Int16Array
> : ^^^^^^^^^^
>typedArray2 : Int16Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Int16Array()).valueOf() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>(new Int16Array()).valueOf : () => Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Int16Array()) : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int16Array() : Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int16Array : Int16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => Int16Array
> : ^^^^^^
>valueOf : () => Int16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray3: Uint16Array = (new Uint16Array()).valueOf();
>typedArray3 : Uint16Array
> : ^^^^^^^^^^^
>(new Uint16Array()).valueOf() : Uint16Array
> : ^^^^^^^^^^^
>(new Uint16Array()).valueOf : () => Uint16Array
> : ^^^^^^
>(new Uint16Array()) : Uint16Array
> : ^^^^^^^^^^^
>new Uint16Array() : Uint16Array
> : ^^^^^^^^^^^
>typedArray3 : Uint16Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint16Array()).valueOf() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint16Array()).valueOf : () => Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint16Array()) : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint16Array() : Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint16Array : Uint16ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => Uint16Array
> : ^^^^^^
>valueOf : () => Uint16Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray4: Int32Array = (new Int32Array()).valueOf();
>typedArray4 : Int32Array
> : ^^^^^^^^^^
>(new Int32Array()).valueOf() : Int32Array
> : ^^^^^^^^^^
>(new Int32Array()).valueOf : () => Int32Array
> : ^^^^^^
>(new Int32Array()) : Int32Array
> : ^^^^^^^^^^
>new Int32Array() : Int32Array
> : ^^^^^^^^^^
>typedArray4 : Int32Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Int32Array()).valueOf() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>(new Int32Array()).valueOf : () => Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Int32Array()) : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>new Int32Array() : Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^
>Int32Array : Int32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => Int32Array
> : ^^^^^^
>valueOf : () => Int32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray5: Uint32Array = (new Uint32Array()).valueOf();
>typedArray5 : Uint32Array
> : ^^^^^^^^^^^
>(new Uint32Array()).valueOf() : Uint32Array
> : ^^^^^^^^^^^
>(new Uint32Array()).valueOf : () => Uint32Array
> : ^^^^^^
>(new Uint32Array()) : Uint32Array
> : ^^^^^^^^^^^
>new Uint32Array() : Uint32Array
> : ^^^^^^^^^^^
>typedArray5 : Uint32Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint32Array()).valueOf() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint32Array()).valueOf : () => Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Uint32Array()) : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>new Uint32Array() : Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>Uint32Array : Uint32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => Uint32Array
> : ^^^^^^
>valueOf : () => Uint32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray6: Float32Array = (new Float32Array()).valueOf();
>typedArray6 : Float32Array
> : ^^^^^^^^^^^^
>(new Float32Array()).valueOf() : Float32Array
> : ^^^^^^^^^^^^
>(new Float32Array()).valueOf : () => Float32Array
> : ^^^^^^
>(new Float32Array()) : Float32Array
> : ^^^^^^^^^^^^
>new Float32Array() : Float32Array
> : ^^^^^^^^^^^^
>typedArray6 : Float32Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Float32Array()).valueOf() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Float32Array()).valueOf : () => Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Float32Array()) : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float32Array() : Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float32Array : Float32ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => Float32Array
> : ^^^^^^
>valueOf : () => Float32Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray7: Float64Array = (new Float64Array()).valueOf();
>typedArray7 : Float64Array
> : ^^^^^^^^^^^^
>(new Float64Array()).valueOf() : Float64Array
> : ^^^^^^^^^^^^
>(new Float64Array()).valueOf : () => Float64Array
> : ^^^^^^
>(new Float64Array()) : Float64Array
> : ^^^^^^^^^^^^
>new Float64Array() : Float64Array
> : ^^^^^^^^^^^^
>typedArray7 : Float64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Float64Array()).valueOf() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Float64Array()).valueOf : () => Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new Float64Array()) : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>new Float64Array() : Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>Float64Array : Float64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => Float64Array
> : ^^^^^^
>valueOf : () => Float64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray8: BigInt64Array = (new BigInt64Array()).valueOf();
>typedArray8 : BigInt64Array
> : ^^^^^^^^^^^^^
>(new BigInt64Array()).valueOf() : BigInt64Array
> : ^^^^^^^^^^^^^
>(new BigInt64Array()).valueOf : () => BigInt64Array
> : ^^^^^^
>(new BigInt64Array()) : BigInt64Array
> : ^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array
> : ^^^^^^^^^^^^^
>typedArray8 : BigInt64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new BigInt64Array()).valueOf() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new BigInt64Array()).valueOf : () => BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new BigInt64Array()) : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigInt64Array() : BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigInt64Array : BigInt64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => BigInt64Array
> : ^^^^^^
>valueOf : () => BigInt64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
const typedArray9: BigUint64Array = (new BigUint64Array()).valueOf();
>typedArray9 : BigUint64Array
> : ^^^^^^^^^^^^^^
>(new BigUint64Array()).valueOf() : BigUint64Array
> : ^^^^^^^^^^^^^^
>(new BigUint64Array()).valueOf : () => BigUint64Array
> : ^^^^^^
>(new BigUint64Array()) : BigUint64Array
> : ^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array
> : ^^^^^^^^^^^^^^
>typedArray9 : BigUint64Array<ArrayBufferLike>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new BigUint64Array()).valueOf() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new BigUint64Array()).valueOf : () => BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>(new BigUint64Array()) : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>new BigUint64Array() : BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>BigUint64Array : BigUint64ArrayConstructor
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
>valueOf : () => BigUint64Array
> : ^^^^^^
>valueOf : () => BigUint64Array<ArrayBuffer>
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@@ -0,0 +1,5 @@
// @target: esnext
// @lib: esnext
// @noEmit: true
class CustomBuffer extends Uint8Array {
}