mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
Add missing parameters from Array.toLocaleString on ES2015 libs (#57679)
This commit is contained in:
40
src/lib/es2015.core.d.ts
vendored
40
src/lib/es2015.core.d.ts
vendored
@@ -42,6 +42,8 @@ interface Array<T> {
|
||||
* @param end If not specified, length of the this object is used as its default value.
|
||||
*/
|
||||
copyWithin(target: number, start: number, end?: number): this;
|
||||
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
||||
}
|
||||
|
||||
interface ArrayConstructor {
|
||||
@@ -342,6 +344,8 @@ interface ReadonlyArray<T> {
|
||||
* predicate. If it is not provided, undefined is used instead.
|
||||
*/
|
||||
findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): number;
|
||||
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
||||
}
|
||||
|
||||
interface RegExp {
|
||||
@@ -537,3 +541,39 @@ interface StringConstructor {
|
||||
*/
|
||||
raw(template: { raw: readonly string[] | ArrayLike<string>; }, ...substitutions: any[]): string;
|
||||
}
|
||||
|
||||
interface Int8Array {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
interface Uint8Array {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
interface Uint8ClampedArray {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
interface Int16Array {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
interface Uint16Array {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
interface Int32Array {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
interface Uint32Array {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
interface Float32Array {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
interface Float64Array {
|
||||
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
}
|
||||
|
||||
4
src/lib/es2020.bigint.d.ts
vendored
4
src/lib/es2020.bigint.d.ts
vendored
@@ -351,7 +351,7 @@ interface BigInt64Array {
|
||||
subarray(begin?: number, end?: number): BigInt64Array;
|
||||
|
||||
/** Converts the array to a string by using the current locale. */
|
||||
toLocaleString(): string;
|
||||
toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
|
||||
/** Returns a string representation of the array. */
|
||||
toString(): string;
|
||||
@@ -623,7 +623,7 @@ interface BigUint64Array {
|
||||
subarray(begin?: number, end?: number): BigUint64Array;
|
||||
|
||||
/** Converts the array to a string by using the current locale. */
|
||||
toLocaleString(): string;
|
||||
toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
||||
|
||||
/** Returns a string representation of the array. */
|
||||
toString(): string;
|
||||
|
||||
117
tests/baselines/reference/arrayToLocaleStringES2015.js
Normal file
117
tests/baselines/reference/arrayToLocaleStringES2015.js
Normal file
@@ -0,0 +1,117 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES2015.ts] ////
|
||||
|
||||
//// [arrayToLocaleStringES2015.ts]
|
||||
let str: string;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
str = mixed.toLocaleString(); // OK
|
||||
str = mixed.toLocaleString('fr'); // OK
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
|
||||
//// [arrayToLocaleStringES2015.js]
|
||||
let str;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const dates = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
str = mixed.toLocaleString(); // OK
|
||||
str = mixed.toLocaleString('fr'); // OK
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
str = mixed.toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
306
tests/baselines/reference/arrayToLocaleStringES2015.symbols
Normal file
306
tests/baselines/reference/arrayToLocaleStringES2015.symbols
Normal file
@@ -0,0 +1,306 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES2015.ts] ////
|
||||
|
||||
=== arrayToLocaleStringES2015.ts ===
|
||||
let str: string;
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
|
||||
const arr = [1, 2, 3];
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES2015.ts, 1, 5))
|
||||
|
||||
str = arr.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES2015.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES2015.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES2015.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 4, 35))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 4, 54))
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES2015.ts, 6, 5))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
||||
|
||||
str = dates.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES2015.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES2015.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES2015.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>timeZone : Symbol(timeZone, Decl(arrayToLocaleStringES2015.ts, 9, 34))
|
||||
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2015.ts, 11, 5))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
||||
|
||||
str = mixed.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>mixed.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2015.ts, 11, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = mixed.toLocaleString('fr'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>mixed.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2015.ts, 11, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>mixed.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2015.ts, 11, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 14, 34))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 14, 53))
|
||||
|
||||
str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>(mixed as ReadonlyArray<number | Date>).toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2015.ts, 11, 5))
|
||||
>ReadonlyArray : Symbol(ReadonlyArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 15, 68))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 15, 85))
|
||||
>timeZone : Symbol(timeZone, Decl(arrayToLocaleStringES2015.ts, 15, 104))
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES2015.ts, 17, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES2015.ts, 17, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES2015.ts, 17, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES2015.ts, 17, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 20, 41))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 20, 60))
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES2015.ts, 22, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES2015.ts, 22, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES2015.ts, 22, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES2015.ts, 22, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 25, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 25, 61))
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES2015.ts, 27, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES2015.ts, 27, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES2015.ts, 27, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES2015.ts, 27, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 30, 49))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 30, 68))
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES2015.ts, 32, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES2015.ts, 32, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES2015.ts, 32, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES2015.ts, 32, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 35, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 35, 61))
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES2015.ts, 37, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES2015.ts, 37, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES2015.ts, 37, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES2015.ts, 37, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 40, 43))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 40, 62))
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES2015.ts, 42, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES2015.ts, 42, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES2015.ts, 42, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES2015.ts, 42, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 45, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 45, 61))
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES2015.ts, 47, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES2015.ts, 47, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES2015.ts, 47, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES2015.ts, 47, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 50, 43))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 50, 62))
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES2015.ts, 52, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES2015.ts, 52, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES2015.ts, 52, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES2015.ts, 52, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 55, 44))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 55, 63))
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES2015.ts, 57, 5))
|
||||
>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, --, --))
|
||||
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES2015.ts, 57, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES2015.ts, 57, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2015.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES2015.ts, 57, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2015.ts, 60, 44))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2015.ts, 60, 63))
|
||||
|
||||
473
tests/baselines/reference/arrayToLocaleStringES2015.types
Normal file
473
tests/baselines/reference/arrayToLocaleStringES2015.types
Normal file
@@ -0,0 +1,473 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES2015.ts] ////
|
||||
|
||||
=== arrayToLocaleStringES2015.ts ===
|
||||
let str: string;
|
||||
>str : string
|
||||
|
||||
const arr = [1, 2, 3];
|
||||
>arr : number[]
|
||||
>[1, 2, 3] : number[]
|
||||
>1 : 1
|
||||
>2 : 2
|
||||
>3 : 3
|
||||
|
||||
str = arr.toLocaleString(); // OK
|
||||
>str = arr.toLocaleString() : string
|
||||
>str : string
|
||||
>arr.toLocaleString() : string
|
||||
>arr.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>arr : number[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
>str = arr.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>arr.toLocaleString('en-US') : string
|
||||
>arr.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>arr : number[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>arr.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>arr : number[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
>dates : readonly Date[]
|
||||
>[new Date(), new Date()] : Date[]
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
|
||||
str = dates.toLocaleString(); // OK
|
||||
>str = dates.toLocaleString() : string
|
||||
>str : string
|
||||
>dates.toLocaleString() : string
|
||||
>dates.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
>str = dates.toLocaleString('fr') : string
|
||||
>str : string
|
||||
>dates.toLocaleString('fr') : string
|
||||
>dates.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'fr' : "fr"
|
||||
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
>str = dates.toLocaleString('fr', { timeZone: 'UTC' }) : string
|
||||
>str : string
|
||||
>dates.toLocaleString('fr', { timeZone: 'UTC' }) : string
|
||||
>dates.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'fr' : "fr"
|
||||
>{ timeZone: 'UTC' } : { timeZone: string; }
|
||||
>timeZone : string
|
||||
>'UTC' : "UTC"
|
||||
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
>mixed : (number | Date)[]
|
||||
>[1, new Date(), 59782, new Date()] : (number | Date)[]
|
||||
>1 : 1
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
>59782 : 59782
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
|
||||
str = mixed.toLocaleString(); // OK
|
||||
>str = mixed.toLocaleString() : string
|
||||
>str : string
|
||||
>mixed.toLocaleString() : string
|
||||
>mixed.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>mixed : (number | Date)[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
|
||||
str = mixed.toLocaleString('fr'); // OK
|
||||
>str = mixed.toLocaleString('fr') : string
|
||||
>str : string
|
||||
>mixed.toLocaleString('fr') : string
|
||||
>mixed.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>mixed : (number | Date)[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'fr' : "fr"
|
||||
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }) : string
|
||||
>mixed.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>mixed : (number | Date)[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'de' : "de"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
>str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }) : string
|
||||
>str : string
|
||||
>(mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }) : string
|
||||
>(mixed as ReadonlyArray<number | Date>).toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>(mixed as ReadonlyArray<number | Date>) : readonly (number | Date)[]
|
||||
>mixed as ReadonlyArray<number | Date> : readonly (number | Date)[]
|
||||
>mixed : (number | Date)[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'de' : "de"
|
||||
>{ currency: 'EUR', style: 'currency', timeZone: 'UTC' } : { currency: string; style: "currency"; timeZone: string; }
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>timeZone : string
|
||||
>'UTC' : "UTC"
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
>int8Array : Int8Array
|
||||
>new Int8Array(3) : Int8Array
|
||||
>Int8Array : Int8ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
>str = int8Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString() : string
|
||||
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
>str = int8Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString('en-US') : string
|
||||
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
>uint8Array : Uint8Array
|
||||
>new Uint8Array(3) : Uint8Array
|
||||
>Uint8Array : Uint8ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
>str = uint8Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString() : string
|
||||
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
>str = uint8Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString('en-US') : string
|
||||
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>new Uint8ClampedArray(3) : Uint8ClampedArray
|
||||
>Uint8ClampedArray : Uint8ClampedArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
>str = uint8ClampedArray.toLocaleString() : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString() : string
|
||||
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
>str = uint8ClampedArray.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString('en-US') : string
|
||||
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
>int16Array : Int16Array
|
||||
>new Int16Array(3) : Int16Array
|
||||
>Int16Array : Int16ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
>str = int16Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString() : string
|
||||
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
>str = int16Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString('en-US') : string
|
||||
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
>uint16Array : Uint16Array
|
||||
>new Uint16Array(3) : Uint16Array
|
||||
>Uint16Array : Uint16ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
>str = uint16Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString() : string
|
||||
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
>str = uint16Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString('en-US') : string
|
||||
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
>int32Array : Int32Array
|
||||
>new Int32Array(3) : Int32Array
|
||||
>Int32Array : Int32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
>str = int32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString() : string
|
||||
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
>str = int32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString('en-US') : string
|
||||
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
>uint32Array : Uint32Array
|
||||
>new Uint32Array(3) : Uint32Array
|
||||
>Uint32Array : Uint32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
>str = uint32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString() : string
|
||||
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
>str = uint32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString('en-US') : string
|
||||
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
>float32Array : Float32Array
|
||||
>new Float32Array(3) : Float32Array
|
||||
>Float32Array : Float32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
>str = float32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString() : string
|
||||
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
>str = float32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString('en-US') : string
|
||||
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
>float64Array : Float64Array
|
||||
>new Float64Array(3) : Float64Array
|
||||
>Float64Array : Float64ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
>str = float64Array.toLocaleString() : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString() : string
|
||||
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
>str = float64Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString('en-US') : string
|
||||
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
142
tests/baselines/reference/arrayToLocaleStringES2020.js
Normal file
142
tests/baselines/reference/arrayToLocaleStringES2020.js
Normal file
@@ -0,0 +1,142 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES2020.ts] ////
|
||||
|
||||
//// [arrayToLocaleStringES2020.ts]
|
||||
let str: string;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
str = mixed.toLocaleString(); // OK
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
|
||||
const bigInts = [BigInt(1), BigInt(2), BigInt(3)];
|
||||
str = bigInts.toLocaleString(); // OK
|
||||
str = bigInts.toLocaleString('en-US'); // OK
|
||||
str = bigInts.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const bigInt64Array = new BigInt64Array(3);
|
||||
str = bigInt64Array.toLocaleString(); // OK
|
||||
str = bigInt64Array.toLocaleString('en-US'); // OK
|
||||
str = bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const bigIntUint64Array = new BigUint64Array(3);
|
||||
str = bigIntUint64Array.toLocaleString(); // OK
|
||||
str = bigIntUint64Array.toLocaleString('en-US'); // OK
|
||||
str = bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
|
||||
//// [arrayToLocaleStringES2020.js]
|
||||
let str;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const dates = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
str = mixed.toLocaleString(); // OK
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
str = mixed.toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
const bigInts = [BigInt(1), BigInt(2), BigInt(3)];
|
||||
str = bigInts.toLocaleString(); // OK
|
||||
str = bigInts.toLocaleString('en-US'); // OK
|
||||
str = bigInts.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const bigInt64Array = new BigInt64Array(3);
|
||||
str = bigInt64Array.toLocaleString(); // OK
|
||||
str = bigInt64Array.toLocaleString('en-US'); // OK
|
||||
str = bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
const bigIntUint64Array = new BigUint64Array(3);
|
||||
str = bigIntUint64Array.toLocaleString(); // OK
|
||||
str = bigIntUint64Array.toLocaleString('en-US'); // OK
|
||||
str = bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
374
tests/baselines/reference/arrayToLocaleStringES2020.symbols
Normal file
374
tests/baselines/reference/arrayToLocaleStringES2020.symbols
Normal file
@@ -0,0 +1,374 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES2020.ts] ////
|
||||
|
||||
=== arrayToLocaleStringES2020.ts ===
|
||||
let str: string;
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
|
||||
const arr = [1, 2, 3];
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES2020.ts, 1, 5))
|
||||
|
||||
str = arr.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES2020.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES2020.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES2020.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 4, 35))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 4, 54))
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES2020.ts, 6, 5))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 1 more)
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 1 more)
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 1 more)
|
||||
|
||||
str = dates.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES2020.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES2020.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES2020.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>timeZone : Symbol(timeZone, Decl(arrayToLocaleStringES2020.ts, 9, 34))
|
||||
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2020.ts, 11, 5))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 1 more)
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 1 more)
|
||||
|
||||
str = mixed.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>mixed.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2020.ts, 11, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>mixed.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2020.ts, 11, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 13, 34))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 13, 53))
|
||||
|
||||
str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>(mixed as ReadonlyArray<number | Date>).toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>mixed : Symbol(mixed, Decl(arrayToLocaleStringES2020.ts, 11, 5))
|
||||
>ReadonlyArray : Symbol(ReadonlyArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 1 more)
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 14, 68))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 14, 85))
|
||||
>timeZone : Symbol(timeZone, Decl(arrayToLocaleStringES2020.ts, 14, 104))
|
||||
|
||||
const bigInts = [BigInt(1), BigInt(2), BigInt(3)];
|
||||
>bigInts : Symbol(bigInts, Decl(arrayToLocaleStringES2020.ts, 16, 5))
|
||||
>BigInt : Symbol(BigInt, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>BigInt : Symbol(BigInt, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>BigInt : Symbol(BigInt, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
|
||||
str = bigInts.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigInts.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>bigInts : Symbol(bigInts, Decl(arrayToLocaleStringES2020.ts, 16, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = bigInts.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigInts.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>bigInts : Symbol(bigInts, Decl(arrayToLocaleStringES2020.ts, 16, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = bigInts.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigInts.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>bigInts : Symbol(bigInts, Decl(arrayToLocaleStringES2020.ts, 16, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 19, 39))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 19, 58))
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES2020.ts, 21, 5))
|
||||
>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, --, --) ... and 1 more)
|
||||
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES2020.ts, 21, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES2020.ts, 21, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES2020.ts, 21, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 24, 41))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 24, 60))
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES2020.ts, 26, 5))
|
||||
>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 1 more)
|
||||
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES2020.ts, 26, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES2020.ts, 26, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES2020.ts, 26, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 29, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 29, 61))
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES2020.ts, 31, 5))
|
||||
>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, --, --) ... and 1 more)
|
||||
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES2020.ts, 31, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES2020.ts, 31, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES2020.ts, 31, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 34, 49))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 34, 68))
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES2020.ts, 36, 5))
|
||||
>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, --, --) ... and 1 more)
|
||||
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES2020.ts, 36, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES2020.ts, 36, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES2020.ts, 36, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 39, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 39, 61))
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES2020.ts, 41, 5))
|
||||
>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, --, --) ... and 1 more)
|
||||
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES2020.ts, 41, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES2020.ts, 41, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES2020.ts, 41, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 44, 43))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 44, 62))
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES2020.ts, 46, 5))
|
||||
>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, --, --) ... and 1 more)
|
||||
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES2020.ts, 46, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES2020.ts, 46, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES2020.ts, 46, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 49, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 49, 61))
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES2020.ts, 51, 5))
|
||||
>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, --, --) ... and 1 more)
|
||||
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES2020.ts, 51, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES2020.ts, 51, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES2020.ts, 51, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 54, 43))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 54, 62))
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES2020.ts, 56, 5))
|
||||
>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, --, --) ... and 1 more)
|
||||
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES2020.ts, 56, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES2020.ts, 56, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES2020.ts, 56, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 59, 44))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 59, 63))
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES2020.ts, 61, 5))
|
||||
>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, --, --) ... and 1 more)
|
||||
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES2020.ts, 61, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES2020.ts, 61, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES2020.ts, 61, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 64, 44))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 64, 63))
|
||||
|
||||
const bigInt64Array = new BigInt64Array(3);
|
||||
>bigInt64Array : Symbol(bigInt64Array, Decl(arrayToLocaleStringES2020.ts, 66, 5))
|
||||
>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
|
||||
str = bigInt64Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigInt64Array.toLocaleString : Symbol(BigInt64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>bigInt64Array : Symbol(bigInt64Array, Decl(arrayToLocaleStringES2020.ts, 66, 5))
|
||||
>toLocaleString : Symbol(BigInt64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
|
||||
str = bigInt64Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigInt64Array.toLocaleString : Symbol(BigInt64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>bigInt64Array : Symbol(bigInt64Array, Decl(arrayToLocaleStringES2020.ts, 66, 5))
|
||||
>toLocaleString : Symbol(BigInt64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
|
||||
str = bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigInt64Array.toLocaleString : Symbol(BigInt64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>bigInt64Array : Symbol(bigInt64Array, Decl(arrayToLocaleStringES2020.ts, 66, 5))
|
||||
>toLocaleString : Symbol(BigInt64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 69, 45))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 69, 64))
|
||||
|
||||
const bigIntUint64Array = new BigUint64Array(3);
|
||||
>bigIntUint64Array : Symbol(bigIntUint64Array, Decl(arrayToLocaleStringES2020.ts, 71, 5))
|
||||
>BigUint64Array : Symbol(BigUint64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
|
||||
str = bigIntUint64Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigIntUint64Array.toLocaleString : Symbol(BigUint64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>bigIntUint64Array : Symbol(bigIntUint64Array, Decl(arrayToLocaleStringES2020.ts, 71, 5))
|
||||
>toLocaleString : Symbol(BigUint64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
|
||||
str = bigIntUint64Array.toLocaleString('en-US'); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigIntUint64Array.toLocaleString : Symbol(BigUint64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>bigIntUint64Array : Symbol(bigIntUint64Array, Decl(arrayToLocaleStringES2020.ts, 71, 5))
|
||||
>toLocaleString : Symbol(BigUint64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
|
||||
str = bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES2020.ts, 0, 3))
|
||||
>bigIntUint64Array.toLocaleString : Symbol(BigUint64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>bigIntUint64Array : Symbol(bigIntUint64Array, Decl(arrayToLocaleStringES2020.ts, 71, 5))
|
||||
>toLocaleString : Symbol(BigUint64Array.toLocaleString, Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES2020.ts, 74, 49))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES2020.ts, 74, 68))
|
||||
|
||||
582
tests/baselines/reference/arrayToLocaleStringES2020.types
Normal file
582
tests/baselines/reference/arrayToLocaleStringES2020.types
Normal file
@@ -0,0 +1,582 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES2020.ts] ////
|
||||
|
||||
=== arrayToLocaleStringES2020.ts ===
|
||||
let str: string;
|
||||
>str : string
|
||||
|
||||
const arr = [1, 2, 3];
|
||||
>arr : number[]
|
||||
>[1, 2, 3] : number[]
|
||||
>1 : 1
|
||||
>2 : 2
|
||||
>3 : 3
|
||||
|
||||
str = arr.toLocaleString(); // OK
|
||||
>str = arr.toLocaleString() : string
|
||||
>str : string
|
||||
>arr.toLocaleString() : string
|
||||
>arr.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>arr : number[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
>str = arr.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>arr.toLocaleString('en-US') : string
|
||||
>arr.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>arr : number[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>arr.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>arr : number[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
>dates : readonly Date[]
|
||||
>[new Date(), new Date()] : Date[]
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
|
||||
str = dates.toLocaleString(); // OK
|
||||
>str = dates.toLocaleString() : string
|
||||
>str : string
|
||||
>dates.toLocaleString() : string
|
||||
>dates.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
>str = dates.toLocaleString('fr') : string
|
||||
>str : string
|
||||
>dates.toLocaleString('fr') : string
|
||||
>dates.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'fr' : "fr"
|
||||
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
>str = dates.toLocaleString('fr', { timeZone: 'UTC' }) : string
|
||||
>str : string
|
||||
>dates.toLocaleString('fr', { timeZone: 'UTC' }) : string
|
||||
>dates.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'fr' : "fr"
|
||||
>{ timeZone: 'UTC' } : { timeZone: string; }
|
||||
>timeZone : string
|
||||
>'UTC' : "UTC"
|
||||
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
>mixed : (number | Date)[]
|
||||
>[1, new Date(), 59782, new Date()] : (number | Date)[]
|
||||
>1 : 1
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
>59782 : 59782
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
|
||||
str = mixed.toLocaleString(); // OK
|
||||
>str = mixed.toLocaleString() : string
|
||||
>str : string
|
||||
>mixed.toLocaleString() : string
|
||||
>mixed.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>mixed : (number | Date)[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }) : string
|
||||
>mixed.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>mixed : (number | Date)[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'de' : "de"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
>str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }) : string
|
||||
>str : string
|
||||
>(mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }) : string
|
||||
>(mixed as ReadonlyArray<number | Date>).toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>(mixed as ReadonlyArray<number | Date>) : readonly (number | Date)[]
|
||||
>mixed as ReadonlyArray<number | Date> : readonly (number | Date)[]
|
||||
>mixed : (number | Date)[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'de' : "de"
|
||||
>{ currency: 'EUR', style: 'currency', timeZone: 'UTC' } : { currency: string; style: "currency"; timeZone: string; }
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>timeZone : string
|
||||
>'UTC' : "UTC"
|
||||
|
||||
const bigInts = [BigInt(1), BigInt(2), BigInt(3)];
|
||||
>bigInts : bigint[]
|
||||
>[BigInt(1), BigInt(2), BigInt(3)] : bigint[]
|
||||
>BigInt(1) : bigint
|
||||
>BigInt : BigIntConstructor
|
||||
>1 : 1
|
||||
>BigInt(2) : bigint
|
||||
>BigInt : BigIntConstructor
|
||||
>2 : 2
|
||||
>BigInt(3) : bigint
|
||||
>BigInt : BigIntConstructor
|
||||
>3 : 3
|
||||
|
||||
str = bigInts.toLocaleString(); // OK
|
||||
>str = bigInts.toLocaleString() : string
|
||||
>str : string
|
||||
>bigInts.toLocaleString() : string
|
||||
>bigInts.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>bigInts : bigint[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
|
||||
str = bigInts.toLocaleString('en-US'); // OK
|
||||
>str = bigInts.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>bigInts.toLocaleString('en-US') : string
|
||||
>bigInts.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>bigInts : bigint[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = bigInts.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = bigInts.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>bigInts.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>bigInts.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>bigInts : bigint[]
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
>int8Array : Int8Array
|
||||
>new Int8Array(3) : Int8Array
|
||||
>Int8Array : Int8ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
>str = int8Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString() : string
|
||||
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
>str = int8Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString('en-US') : string
|
||||
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
>uint8Array : Uint8Array
|
||||
>new Uint8Array(3) : Uint8Array
|
||||
>Uint8Array : Uint8ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
>str = uint8Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString() : string
|
||||
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
>str = uint8Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString('en-US') : string
|
||||
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint8Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>new Uint8ClampedArray(3) : Uint8ClampedArray
|
||||
>Uint8ClampedArray : Uint8ClampedArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
>str = uint8ClampedArray.toLocaleString() : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString() : string
|
||||
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
>str = uint8ClampedArray.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString('en-US') : string
|
||||
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint8ClampedArray.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
>int16Array : Int16Array
|
||||
>new Int16Array(3) : Int16Array
|
||||
>Int16Array : Int16ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
>str = int16Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString() : string
|
||||
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
>str = int16Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString('en-US') : string
|
||||
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
>uint16Array : Uint16Array
|
||||
>new Uint16Array(3) : Uint16Array
|
||||
>Uint16Array : Uint16ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
>str = uint16Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString() : string
|
||||
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
>str = uint16Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString('en-US') : string
|
||||
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint16Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
>int32Array : Int32Array
|
||||
>new Int32Array(3) : Int32Array
|
||||
>Int32Array : Int32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
>str = int32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString() : string
|
||||
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
>str = int32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString('en-US') : string
|
||||
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
>uint32Array : Uint32Array
|
||||
>new Uint32Array(3) : Uint32Array
|
||||
>Uint32Array : Uint32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
>str = uint32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString() : string
|
||||
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
>str = uint32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString('en-US') : string
|
||||
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
>float32Array : Float32Array
|
||||
>new Float32Array(3) : Float32Array
|
||||
>Float32Array : Float32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
>str = float32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString() : string
|
||||
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
>str = float32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString('en-US') : string
|
||||
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>float32Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
>float64Array : Float64Array
|
||||
>new Float64Array(3) : Float64Array
|
||||
>Float64Array : Float64ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
>str = float64Array.toLocaleString() : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString() : string
|
||||
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
>str = float64Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString('en-US') : string
|
||||
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>float64Array.toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions): string; }
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const bigInt64Array = new BigInt64Array(3);
|
||||
>bigInt64Array : BigInt64Array
|
||||
>new BigInt64Array(3) : BigInt64Array
|
||||
>BigInt64Array : BigInt64ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = bigInt64Array.toLocaleString(); // OK
|
||||
>str = bigInt64Array.toLocaleString() : string
|
||||
>str : string
|
||||
>bigInt64Array.toLocaleString() : string
|
||||
>bigInt64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>bigInt64Array : BigInt64Array
|
||||
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
|
||||
str = bigInt64Array.toLocaleString('en-US'); // OK
|
||||
>str = bigInt64Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>bigInt64Array.toLocaleString('en-US') : string
|
||||
>bigInt64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>bigInt64Array : BigInt64Array
|
||||
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>bigInt64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>bigInt64Array : BigInt64Array
|
||||
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const bigIntUint64Array = new BigUint64Array(3);
|
||||
>bigIntUint64Array : BigUint64Array
|
||||
>new BigUint64Array(3) : BigUint64Array
|
||||
>BigUint64Array : BigUint64ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = bigIntUint64Array.toLocaleString(); // OK
|
||||
>str = bigIntUint64Array.toLocaleString() : string
|
||||
>str : string
|
||||
>bigIntUint64Array.toLocaleString() : string
|
||||
>bigIntUint64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>bigIntUint64Array : BigUint64Array
|
||||
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
|
||||
str = bigIntUint64Array.toLocaleString('en-US'); // OK
|
||||
>str = bigIntUint64Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>bigIntUint64Array.toLocaleString('en-US') : string
|
||||
>bigIntUint64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>bigIntUint64Array : BigUint64Array
|
||||
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
>str = bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>bigIntUint64Array.toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>bigIntUint64Array : BigUint64Array
|
||||
>toLocaleString : (locales?: string | string[], options?: Intl.NumberFormatOptions) => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: "currency"; currency: string; }
|
||||
>style : "currency"
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
125
tests/baselines/reference/arrayToLocaleStringES5.errors.txt
Normal file
125
tests/baselines/reference/arrayToLocaleStringES5.errors.txt
Normal file
@@ -0,0 +1,125 @@
|
||||
arrayToLocaleStringES5.ts(4,26): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(5,26): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(9,28): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(10,28): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(14,32): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(15,32): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(19,33): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(20,33): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(24,40): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(25,40): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(29,33): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(30,33): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(34,34): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(35,34): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(39,33): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(40,33): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(44,34): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(45,34): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(49,35): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(50,35): error TS2554: Expected 0 arguments, but got 2.
|
||||
arrayToLocaleStringES5.ts(54,35): error TS2554: Expected 0 arguments, but got 1.
|
||||
arrayToLocaleStringES5.ts(55,35): error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
|
||||
==== arrayToLocaleStringES5.ts (22 errors) ====
|
||||
let str: string;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // should be error
|
||||
~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // should be error
|
||||
~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 1.
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2554: Expected 0 arguments, but got 2.
|
||||
|
||||
106
tests/baselines/reference/arrayToLocaleStringES5.js
Normal file
106
tests/baselines/reference/arrayToLocaleStringES5.js
Normal file
@@ -0,0 +1,106 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES5.ts] ////
|
||||
|
||||
//// [arrayToLocaleStringES5.ts]
|
||||
let str: string;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // should be error
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // should be error
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // should be error
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // should be error
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // should be error
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // should be error
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // should be error
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // should be error
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // should be error
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // should be error
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // should be error
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // should be error
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
|
||||
//// [arrayToLocaleStringES5.js]
|
||||
var str;
|
||||
var arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // should be error
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var dates = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // should be error
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // should be error
|
||||
var int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // should be error
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // should be error
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // should be error
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // should be error
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // should be error
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // should be error
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // should be error
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // should be error
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
var float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // should be error
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
270
tests/baselines/reference/arrayToLocaleStringES5.symbols
Normal file
270
tests/baselines/reference/arrayToLocaleStringES5.symbols
Normal file
@@ -0,0 +1,270 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES5.ts] ////
|
||||
|
||||
=== arrayToLocaleStringES5.ts ===
|
||||
let str: string;
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
|
||||
const arr = [1, 2, 3];
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES5.ts, 1, 5))
|
||||
|
||||
str = arr.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES5.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = arr.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES5.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>arr.toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>arr : Symbol(arr, Decl(arrayToLocaleStringES5.ts, 1, 5))
|
||||
>toLocaleString : Symbol(Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 4, 35))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 4, 54))
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES5.ts, 6, 5))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --))
|
||||
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --))
|
||||
|
||||
str = dates.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES5.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = dates.toLocaleString('fr'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES5.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>dates.toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>dates : Symbol(dates, Decl(arrayToLocaleStringES5.ts, 6, 5))
|
||||
>toLocaleString : Symbol(ReadonlyArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>timeZone : Symbol(timeZone, Decl(arrayToLocaleStringES5.ts, 9, 34))
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES5.ts, 11, 5))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES5.ts, 11, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int8Array.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES5.ts, 11, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int8Array.toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int8Array : Symbol(int8Array, Decl(arrayToLocaleStringES5.ts, 11, 5))
|
||||
>toLocaleString : Symbol(Int8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 14, 41))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 14, 60))
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES5.ts, 16, 5))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES5.ts, 16, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint8Array.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES5.ts, 16, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint8Array.toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint8Array : Symbol(uint8Array, Decl(arrayToLocaleStringES5.ts, 16, 5))
|
||||
>toLocaleString : Symbol(Uint8Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 19, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 19, 61))
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES5.ts, 21, 5))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES5.ts, 21, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES5.ts, 21, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint8ClampedArray.toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(arrayToLocaleStringES5.ts, 21, 5))
|
||||
>toLocaleString : Symbol(Uint8ClampedArray.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 24, 49))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 24, 68))
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES5.ts, 26, 5))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES5.ts, 26, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int16Array.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES5.ts, 26, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int16Array.toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int16Array : Symbol(int16Array, Decl(arrayToLocaleStringES5.ts, 26, 5))
|
||||
>toLocaleString : Symbol(Int16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 29, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 29, 61))
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES5.ts, 31, 5))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES5.ts, 31, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint16Array.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES5.ts, 31, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint16Array.toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint16Array : Symbol(uint16Array, Decl(arrayToLocaleStringES5.ts, 31, 5))
|
||||
>toLocaleString : Symbol(Uint16Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 34, 43))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 34, 62))
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES5.ts, 36, 5))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES5.ts, 36, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int32Array.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES5.ts, 36, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>int32Array.toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>int32Array : Symbol(int32Array, Decl(arrayToLocaleStringES5.ts, 36, 5))
|
||||
>toLocaleString : Symbol(Int32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 39, 42))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 39, 61))
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES5.ts, 41, 5))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES5.ts, 41, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint32Array.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES5.ts, 41, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>uint32Array.toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>uint32Array : Symbol(uint32Array, Decl(arrayToLocaleStringES5.ts, 41, 5))
|
||||
>toLocaleString : Symbol(Uint32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 44, 43))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 44, 62))
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES5.ts, 46, 5))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES5.ts, 46, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = float32Array.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES5.ts, 46, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>float32Array.toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>float32Array : Symbol(float32Array, Decl(arrayToLocaleStringES5.ts, 46, 5))
|
||||
>toLocaleString : Symbol(Float32Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 49, 44))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 49, 63))
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES5.ts, 51, 5))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES5.ts, 51, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = float64Array.toLocaleString('en-US'); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES5.ts, 51, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str : Symbol(str, Decl(arrayToLocaleStringES5.ts, 0, 3))
|
||||
>float64Array.toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>float64Array : Symbol(float64Array, Decl(arrayToLocaleStringES5.ts, 51, 5))
|
||||
>toLocaleString : Symbol(Float64Array.toLocaleString, Decl(lib.es5.d.ts, --, --))
|
||||
>style : Symbol(style, Decl(arrayToLocaleStringES5.ts, 54, 44))
|
||||
>currency : Symbol(currency, Decl(arrayToLocaleStringES5.ts, 54, 63))
|
||||
|
||||
414
tests/baselines/reference/arrayToLocaleStringES5.types
Normal file
414
tests/baselines/reference/arrayToLocaleStringES5.types
Normal file
@@ -0,0 +1,414 @@
|
||||
//// [tests/cases/compiler/arrayToLocaleStringES5.ts] ////
|
||||
|
||||
=== arrayToLocaleStringES5.ts ===
|
||||
let str: string;
|
||||
>str : string
|
||||
|
||||
const arr = [1, 2, 3];
|
||||
>arr : number[]
|
||||
>[1, 2, 3] : number[]
|
||||
>1 : 1
|
||||
>2 : 2
|
||||
>3 : 3
|
||||
|
||||
str = arr.toLocaleString(); // OK
|
||||
>str = arr.toLocaleString() : string
|
||||
>str : string
|
||||
>arr.toLocaleString() : string
|
||||
>arr.toLocaleString : () => string
|
||||
>arr : number[]
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = arr.toLocaleString('en-US'); // should be error
|
||||
>str = arr.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>arr.toLocaleString('en-US') : string
|
||||
>arr.toLocaleString : () => string
|
||||
>arr : number[]
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>arr.toLocaleString : () => string
|
||||
>arr : number[]
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
>dates : readonly Date[]
|
||||
>[new Date(), new Date()] : Date[]
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
>new Date() : Date
|
||||
>Date : DateConstructor
|
||||
|
||||
str = dates.toLocaleString(); // OK
|
||||
>str = dates.toLocaleString() : string
|
||||
>str : string
|
||||
>dates.toLocaleString() : string
|
||||
>dates.toLocaleString : () => string
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = dates.toLocaleString('fr'); // should be error
|
||||
>str = dates.toLocaleString('fr') : string
|
||||
>str : string
|
||||
>dates.toLocaleString('fr') : string
|
||||
>dates.toLocaleString : () => string
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : () => string
|
||||
>'fr' : "fr"
|
||||
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // should be error
|
||||
>str = dates.toLocaleString('fr', { timeZone: 'UTC' }) : string
|
||||
>str : string
|
||||
>dates.toLocaleString('fr', { timeZone: 'UTC' }) : string
|
||||
>dates.toLocaleString : () => string
|
||||
>dates : readonly Date[]
|
||||
>toLocaleString : () => string
|
||||
>'fr' : "fr"
|
||||
>{ timeZone: 'UTC' } : { timeZone: string; }
|
||||
>timeZone : string
|
||||
>'UTC' : "UTC"
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
>int8Array : Int8Array
|
||||
>new Int8Array(3) : Int8Array
|
||||
>Int8Array : Int8ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
>str = int8Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString() : string
|
||||
>int8Array.toLocaleString : () => string
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = int8Array.toLocaleString('en-US'); // should be error
|
||||
>str = int8Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString('en-US') : string
|
||||
>int8Array.toLocaleString : () => string
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int8Array.toLocaleString : () => string
|
||||
>int8Array : Int8Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
>uint8Array : Uint8Array
|
||||
>new Uint8Array(3) : Uint8Array
|
||||
>Uint8Array : Uint8ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
>str = uint8Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString() : string
|
||||
>uint8Array.toLocaleString : () => string
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = uint8Array.toLocaleString('en-US'); // should be error
|
||||
>str = uint8Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString('en-US') : string
|
||||
>uint8Array.toLocaleString : () => string
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint8Array.toLocaleString : () => string
|
||||
>uint8Array : Uint8Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>new Uint8ClampedArray(3) : Uint8ClampedArray
|
||||
>Uint8ClampedArray : Uint8ClampedArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
>str = uint8ClampedArray.toLocaleString() : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString() : string
|
||||
>uint8ClampedArray.toLocaleString : () => string
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // should be error
|
||||
>str = uint8ClampedArray.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString('en-US') : string
|
||||
>uint8ClampedArray.toLocaleString : () => string
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint8ClampedArray.toLocaleString : () => string
|
||||
>uint8ClampedArray : Uint8ClampedArray
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
>int16Array : Int16Array
|
||||
>new Int16Array(3) : Int16Array
|
||||
>Int16Array : Int16ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
>str = int16Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString() : string
|
||||
>int16Array.toLocaleString : () => string
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = int16Array.toLocaleString('en-US'); // should be error
|
||||
>str = int16Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString('en-US') : string
|
||||
>int16Array.toLocaleString : () => string
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int16Array.toLocaleString : () => string
|
||||
>int16Array : Int16Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
>uint16Array : Uint16Array
|
||||
>new Uint16Array(3) : Uint16Array
|
||||
>Uint16Array : Uint16ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
>str = uint16Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString() : string
|
||||
>uint16Array.toLocaleString : () => string
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = uint16Array.toLocaleString('en-US'); // should be error
|
||||
>str = uint16Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString('en-US') : string
|
||||
>uint16Array.toLocaleString : () => string
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint16Array.toLocaleString : () => string
|
||||
>uint16Array : Uint16Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
>int32Array : Int32Array
|
||||
>new Int32Array(3) : Int32Array
|
||||
>Int32Array : Int32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
>str = int32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString() : string
|
||||
>int32Array.toLocaleString : () => string
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = int32Array.toLocaleString('en-US'); // should be error
|
||||
>str = int32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString('en-US') : string
|
||||
>int32Array.toLocaleString : () => string
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>int32Array.toLocaleString : () => string
|
||||
>int32Array : Int32Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
>uint32Array : Uint32Array
|
||||
>new Uint32Array(3) : Uint32Array
|
||||
>Uint32Array : Uint32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
>str = uint32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString() : string
|
||||
>uint32Array.toLocaleString : () => string
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = uint32Array.toLocaleString('en-US'); // should be error
|
||||
>str = uint32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString('en-US') : string
|
||||
>uint32Array.toLocaleString : () => string
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>uint32Array.toLocaleString : () => string
|
||||
>uint32Array : Uint32Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
>float32Array : Float32Array
|
||||
>new Float32Array(3) : Float32Array
|
||||
>Float32Array : Float32ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
>str = float32Array.toLocaleString() : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString() : string
|
||||
>float32Array.toLocaleString : () => string
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = float32Array.toLocaleString('en-US'); // should be error
|
||||
>str = float32Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString('en-US') : string
|
||||
>float32Array.toLocaleString : () => string
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>float32Array.toLocaleString : () => string
|
||||
>float32Array : Float32Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
>float64Array : Float64Array
|
||||
>new Float64Array(3) : Float64Array
|
||||
>Float64Array : Float64ArrayConstructor
|
||||
>3 : 3
|
||||
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
>str = float64Array.toLocaleString() : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString() : string
|
||||
>float64Array.toLocaleString : () => string
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : () => string
|
||||
|
||||
str = float64Array.toLocaleString('en-US'); // should be error
|
||||
>str = float64Array.toLocaleString('en-US') : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString('en-US') : string
|
||||
>float64Array.toLocaleString : () => string
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
>str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>str : string
|
||||
>float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }) : string
|
||||
>float64Array.toLocaleString : () => string
|
||||
>float64Array : Float64Array
|
||||
>toLocaleString : () => string
|
||||
>'en-US' : "en-US"
|
||||
>{ style: 'currency', currency: 'EUR' } : { style: string; currency: string; }
|
||||
>style : string
|
||||
>'currency' : "currency"
|
||||
>currency : string
|
||||
>'EUR' : "EUR"
|
||||
|
||||
@@ -47,7 +47,7 @@ const bigNum: bigint = 0n;
|
||||
|
||||
const typedArray = new Uint8Array(3);
|
||||
>typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
typedArray[bigNum] = 0xAA; // should error
|
||||
>typedArray : Symbol(typedArray, Decl(a.ts, 17, 5))
|
||||
|
||||
@@ -32,7 +32,7 @@ const testIntlFormatToParts = new Intl.DateTimeFormat("en-US").formatToParts();
|
||||
|
||||
const testAtomics = Atomics.add(new Uint8Array(0), 0, 0);
|
||||
>testAtomics : Symbol(testAtomics, Decl(doYouNeedToChangeYourTargetLibraryES2016Plus.ts, 10, 5))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
const testSharedArrayBuffer = new SharedArrayBuffer(5);
|
||||
>testSharedArrayBuffer : Symbol(testSharedArrayBuffer, Decl(doYouNeedToChangeYourTargetLibraryES2016Plus.ts, 11, 5))
|
||||
|
||||
@@ -5,12 +5,12 @@ const sab = new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT * 1024);
|
||||
>sab : Symbol(sab, Decl(es2022SharedMemory.ts, 0, 5))
|
||||
>SharedArrayBuffer : Symbol(SharedArrayBuffer, Decl(lib.es2017.sharedmemory.d.ts, --, --), Decl(lib.es2017.sharedmemory.d.ts, --, --))
|
||||
>Int32Array.BYTES_PER_ELEMENT : Symbol(Int32ArrayConstructor.BYTES_PER_ELEMENT, Decl(lib.es5.d.ts, --, --))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>BYTES_PER_ELEMENT : Symbol(Int32ArrayConstructor.BYTES_PER_ELEMENT, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const int32 = new Int32Array(sab);
|
||||
>int32 : Symbol(int32, Decl(es2022SharedMemory.ts, 1, 5))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>sab : Symbol(sab, Decl(es2022SharedMemory.ts, 0, 5))
|
||||
|
||||
const sab64 = new SharedArrayBuffer(BigInt64Array.BYTES_PER_ELEMENT * 1024);
|
||||
|
||||
@@ -12,47 +12,47 @@ const itemString: string | undefined = ["string"].findLast((item) => item === "s
|
||||
>item : Symbol(item, Decl(findLast.ts, 1, 60))
|
||||
|
||||
new Int8Array().findLast((item) => item === 0);
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 2, 26))
|
||||
>item : Symbol(item, Decl(findLast.ts, 2, 26))
|
||||
|
||||
new Uint8Array().findLast((item) => item === 0);
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 3, 27))
|
||||
>item : Symbol(item, Decl(findLast.ts, 3, 27))
|
||||
|
||||
new Uint8ClampedArray().findLast((item) => item === 0);
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 4, 34))
|
||||
>item : Symbol(item, Decl(findLast.ts, 4, 34))
|
||||
|
||||
new Int16Array().findLast((item) => item === 0);
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 5, 27))
|
||||
>item : Symbol(item, Decl(findLast.ts, 5, 27))
|
||||
|
||||
new Uint16Array().findLast((item) => item === 0);
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 6, 28))
|
||||
>item : Symbol(item, Decl(findLast.ts, 6, 28))
|
||||
|
||||
new Int32Array().findLast((item) => item === 0);
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 7, 27))
|
||||
>item : Symbol(item, Decl(findLast.ts, 7, 27))
|
||||
|
||||
new Uint32Array().findLast((item) => item === 0);
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 8, 28))
|
||||
>item : Symbol(item, Decl(findLast.ts, 8, 28))
|
||||
|
||||
new Float32Array().findLast((item) => item === 0);
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 9, 29))
|
||||
>item : Symbol(item, Decl(findLast.ts, 9, 29))
|
||||
|
||||
new Float64Array().findLast((item) => item === 0);
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 10, 29))
|
||||
>item : Symbol(item, Decl(findLast.ts, 10, 29))
|
||||
|
||||
@@ -79,47 +79,47 @@ const indexString: number = ["string"].findLastIndex((item) => item === "string"
|
||||
>item : Symbol(item, Decl(findLast.ts, 15, 54))
|
||||
|
||||
new Int8Array().findLastIndex((item) => item === 0);
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 16, 31))
|
||||
>item : Symbol(item, Decl(findLast.ts, 16, 31))
|
||||
|
||||
new Uint8Array().findLastIndex((item) => item === 0);
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 17, 32))
|
||||
>item : Symbol(item, Decl(findLast.ts, 17, 32))
|
||||
|
||||
new Uint8ClampedArray().findLastIndex((item) => item === 0);
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 18, 39))
|
||||
>item : Symbol(item, Decl(findLast.ts, 18, 39))
|
||||
|
||||
new Int16Array().findLastIndex((item) => item === 0);
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 19, 32))
|
||||
>item : Symbol(item, Decl(findLast.ts, 19, 32))
|
||||
|
||||
new Uint16Array().findLastIndex((item) => item === 0);
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 20, 33))
|
||||
>item : Symbol(item, Decl(findLast.ts, 20, 33))
|
||||
|
||||
new Int32Array().findLastIndex((item) => item === 0);
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 21, 32))
|
||||
>item : Symbol(item, Decl(findLast.ts, 21, 32))
|
||||
|
||||
new Uint32Array().findLastIndex((item) => item === 0);
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 22, 33))
|
||||
>item : Symbol(item, Decl(findLast.ts, 22, 33))
|
||||
|
||||
new Float32Array().findLastIndex((item) => item === 0);
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 23, 34))
|
||||
>item : Symbol(item, Decl(findLast.ts, 23, 34))
|
||||
|
||||
new Float64Array().findLastIndex((item) => item === 0);
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>item : Symbol(item, Decl(findLast.ts, 24, 34))
|
||||
>item : Symbol(item, Decl(findLast.ts, 24, 34))
|
||||
|
||||
|
||||
@@ -17,63 +17,63 @@ const itemString: string | undefined = ["string"].findLast((item) => item === "s
|
||||
|
||||
new Int8Array().findLast((item) => item === 0);
|
||||
>new Int8Array().findLast : Symbol(Int8Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLast : Symbol(Int8Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 2, 26))
|
||||
>item : Symbol(item, Decl(findLast.ts, 2, 26))
|
||||
|
||||
new Uint8Array().findLast((item) => item === 0);
|
||||
>new Uint8Array().findLast : Symbol(Uint8Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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)
|
||||
>findLast : Symbol(Uint8Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 3, 27))
|
||||
>item : Symbol(item, Decl(findLast.ts, 3, 27))
|
||||
|
||||
new Uint8ClampedArray().findLast((item) => item === 0);
|
||||
>new Uint8ClampedArray().findLast : Symbol(Uint8ClampedArray.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLast : Symbol(Uint8ClampedArray.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 4, 34))
|
||||
>item : Symbol(item, Decl(findLast.ts, 4, 34))
|
||||
|
||||
new Int16Array().findLast((item) => item === 0);
|
||||
>new Int16Array().findLast : Symbol(Int16Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLast : Symbol(Int16Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 5, 27))
|
||||
>item : Symbol(item, Decl(findLast.ts, 5, 27))
|
||||
|
||||
new Uint16Array().findLast((item) => item === 0);
|
||||
>new Uint16Array().findLast : Symbol(Uint16Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLast : Symbol(Uint16Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 6, 28))
|
||||
>item : Symbol(item, Decl(findLast.ts, 6, 28))
|
||||
|
||||
new Int32Array().findLast((item) => item === 0);
|
||||
>new Int32Array().findLast : Symbol(Int32Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLast : Symbol(Int32Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 7, 27))
|
||||
>item : Symbol(item, Decl(findLast.ts, 7, 27))
|
||||
|
||||
new Uint32Array().findLast((item) => item === 0);
|
||||
>new Uint32Array().findLast : Symbol(Uint32Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLast : Symbol(Uint32Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 8, 28))
|
||||
>item : Symbol(item, Decl(findLast.ts, 8, 28))
|
||||
|
||||
new Float32Array().findLast((item) => item === 0);
|
||||
>new Float32Array().findLast : Symbol(Float32Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLast : Symbol(Float32Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 9, 29))
|
||||
>item : Symbol(item, Decl(findLast.ts, 9, 29))
|
||||
|
||||
new Float64Array().findLast((item) => item === 0);
|
||||
>new Float64Array().findLast : Symbol(Float64Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLast : Symbol(Float64Array.findLast, Decl(lib.es2023.array.d.ts, --, --), Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 10, 29))
|
||||
>item : Symbol(item, Decl(findLast.ts, 10, 29))
|
||||
@@ -110,63 +110,63 @@ const indexString: number = ["string"].findLastIndex((item) => item === "string"
|
||||
|
||||
new Int8Array().findLastIndex((item) => item === 0);
|
||||
>new Int8Array().findLastIndex : Symbol(Int8Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLastIndex : Symbol(Int8Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 16, 31))
|
||||
>item : Symbol(item, Decl(findLast.ts, 16, 31))
|
||||
|
||||
new Uint8Array().findLastIndex((item) => item === 0);
|
||||
>new Uint8Array().findLastIndex : Symbol(Uint8Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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)
|
||||
>findLastIndex : Symbol(Uint8Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 17, 32))
|
||||
>item : Symbol(item, Decl(findLast.ts, 17, 32))
|
||||
|
||||
new Uint8ClampedArray().findLastIndex((item) => item === 0);
|
||||
>new Uint8ClampedArray().findLastIndex : Symbol(Uint8ClampedArray.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLastIndex : Symbol(Uint8ClampedArray.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 18, 39))
|
||||
>item : Symbol(item, Decl(findLast.ts, 18, 39))
|
||||
|
||||
new Int16Array().findLastIndex((item) => item === 0);
|
||||
>new Int16Array().findLastIndex : Symbol(Int16Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLastIndex : Symbol(Int16Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 19, 32))
|
||||
>item : Symbol(item, Decl(findLast.ts, 19, 32))
|
||||
|
||||
new Uint16Array().findLastIndex((item) => item === 0);
|
||||
>new Uint16Array().findLastIndex : Symbol(Uint16Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLastIndex : Symbol(Uint16Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 20, 33))
|
||||
>item : Symbol(item, Decl(findLast.ts, 20, 33))
|
||||
|
||||
new Int32Array().findLastIndex((item) => item === 0);
|
||||
>new Int32Array().findLastIndex : Symbol(Int32Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLastIndex : Symbol(Int32Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 21, 32))
|
||||
>item : Symbol(item, Decl(findLast.ts, 21, 32))
|
||||
|
||||
new Uint32Array().findLastIndex((item) => item === 0);
|
||||
>new Uint32Array().findLastIndex : Symbol(Uint32Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLastIndex : Symbol(Uint32Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 22, 33))
|
||||
>item : Symbol(item, Decl(findLast.ts, 22, 33))
|
||||
|
||||
new Float32Array().findLastIndex((item) => item === 0);
|
||||
>new Float32Array().findLastIndex : Symbol(Float32Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLastIndex : Symbol(Float32Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 23, 34))
|
||||
>item : Symbol(item, Decl(findLast.ts, 23, 34))
|
||||
|
||||
new Float64Array().findLastIndex((item) => item === 0);
|
||||
>new Float64Array().findLastIndex : Symbol(Float64Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>findLastIndex : Symbol(Float64Array.findLastIndex, Decl(lib.es2023.array.d.ts, --, --))
|
||||
>item : Symbol(item, Decl(findLast.ts, 24, 34))
|
||||
>item : Symbol(item, Decl(findLast.ts, 24, 34))
|
||||
|
||||
@@ -4,31 +4,31 @@
|
||||
[0].at(0);
|
||||
"foo".at(0);
|
||||
new Int8Array().at(0);
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new Uint8Array().at(0);
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new Uint8ClampedArray().at(0);
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new Int16Array().at(0);
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new Uint16Array().at(0);
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new Int32Array().at(0);
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new Uint32Array().at(0);
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new Float32Array().at(0);
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new Float64Array().at(0);
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
|
||||
new BigInt64Array().at(0);
|
||||
>BigInt64Array : Symbol(BigInt64Array, Decl(lib.es2020.bigint.d.ts, --, --), Decl(lib.es2020.bigint.d.ts, --, --))
|
||||
|
||||
@@ -11,47 +11,47 @@
|
||||
|
||||
new Int8Array().at(0);
|
||||
>new Int8Array().at : Symbol(Int8Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>at : Symbol(Int8Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Uint8Array().at(0);
|
||||
>new Uint8Array().at : Symbol(Uint8Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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 2 more)
|
||||
>at : Symbol(Uint8Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Uint8ClampedArray().at(0);
|
||||
>new Uint8ClampedArray().at : Symbol(Uint8ClampedArray.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>at : Symbol(Uint8ClampedArray.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Int16Array().at(0);
|
||||
>new Int16Array().at : Symbol(Int16Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>at : Symbol(Int16Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Uint16Array().at(0);
|
||||
>new Uint16Array().at : Symbol(Uint16Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>at : Symbol(Uint16Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Int32Array().at(0);
|
||||
>new Int32Array().at : Symbol(Int32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>at : Symbol(Int32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Uint32Array().at(0);
|
||||
>new Uint32Array().at : Symbol(Uint32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>at : Symbol(Uint32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Float32Array().at(0);
|
||||
>new Float32Array().at : Symbol(Float32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>at : Symbol(Float32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Float64Array().at(0);
|
||||
>new Float64Array().at : Symbol(Float64Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 1 more)
|
||||
>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, --, --) ... and 2 more)
|
||||
>at : Symbol(Float64Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new BigInt64Array().at(0);
|
||||
|
||||
@@ -11,47 +11,47 @@
|
||||
|
||||
new Int8Array().at(0);
|
||||
>new Int8Array().at : Symbol(Int8Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>at : Symbol(Int8Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Uint8Array().at(0);
|
||||
>new Uint8Array().at : Symbol(Uint8Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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)
|
||||
>at : Symbol(Uint8Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Uint8ClampedArray().at(0);
|
||||
>new Uint8ClampedArray().at : Symbol(Uint8ClampedArray.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>at : Symbol(Uint8ClampedArray.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Int16Array().at(0);
|
||||
>new Int16Array().at : Symbol(Int16Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>at : Symbol(Int16Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Uint16Array().at(0);
|
||||
>new Uint16Array().at : Symbol(Uint16Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>at : Symbol(Uint16Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Int32Array().at(0);
|
||||
>new Int32Array().at : Symbol(Int32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>at : Symbol(Int32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Uint32Array().at(0);
|
||||
>new Uint32Array().at : Symbol(Uint32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>at : Symbol(Uint32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Float32Array().at(0);
|
||||
>new Float32Array().at : Symbol(Float32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>at : Symbol(Float32Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new Float64Array().at(0);
|
||||
>new Float64Array().at : Symbol(Float64Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.d.ts, --, --) ... and 2 more)
|
||||
>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, --, --) ... and 3 more)
|
||||
>at : Symbol(Float64Array.at, Decl(lib.es2022.array.d.ts, --, --))
|
||||
|
||||
new BigInt64Array().at(0);
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Assignability cache: 400 / 400 (nearest 100)
|
||||
Type Count: 1,400 / 1,400 (nearest 100)
|
||||
Instantiation count: 1,500 / 1,500 (nearest 500)
|
||||
Symbol count: 31,500 / 31,500 (nearest 500)
|
||||
Symbol count: 32,000 / 32,000 (nearest 500)
|
||||
|
||||
=== other.tsx ===
|
||||
/// <reference path="react18/react18.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
mappedTypeWithAsClauseAndLateBoundProperty.ts(3,1): error TS2741: Property 'length' is missing in type '{ [x: number]: number; toString: () => string; toLocaleString: () => string; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { <S extends number>(predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }' but required in type 'number[]'.
|
||||
mappedTypeWithAsClauseAndLateBoundProperty.ts(3,1): error TS2741: Property 'length' is missing in type '{ [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: NumberFormatOptions & DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { <S extends number>(predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }' but required in type 'number[]'.
|
||||
|
||||
|
||||
==== mappedTypeWithAsClauseAndLateBoundProperty.ts (1 errors) ====
|
||||
@@ -6,6 +6,6 @@ mappedTypeWithAsClauseAndLateBoundProperty.ts(3,1): error TS2741: Property 'leng
|
||||
declare let src2: { [K in keyof number[] as Exclude<K, "length">]: (number[])[K] };
|
||||
tgt2 = src2; // Should error
|
||||
~~~~
|
||||
!!! error TS2741: Property 'length' is missing in type '{ [x: number]: number; toString: () => string; toLocaleString: () => string; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { <S extends number>(predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }' but required in type 'number[]'.
|
||||
!!! error TS2741: Property 'length' is missing in type '{ [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: NumberFormatOptions & DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { <S extends number>(predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }' but required in type 'number[]'.
|
||||
!!! related TS2728 lib.es5.d.ts:--:--: 'length' is declared here.
|
||||
|
||||
@@ -5,10 +5,10 @@ declare let tgt2: number[];
|
||||
>tgt2 : number[]
|
||||
|
||||
declare let src2: { [K in keyof number[] as Exclude<K, "length">]: (number[])[K] };
|
||||
>src2 : { [x: number]: number; toString: () => string; toLocaleString: () => string; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
|
||||
tgt2 = src2; // Should error
|
||||
>tgt2 = src2 : { [x: number]: number; toString: () => string; toLocaleString: () => string; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>tgt2 = src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>tgt2 : number[]
|
||||
>src2 : { [x: number]: number; toString: () => string; toLocaleString: () => string; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
|
||||
|
||||
@@ -12,7 +12,10 @@ export const thing = null;
|
||||
export declare const thing: {
|
||||
[x: number]: number;
|
||||
toString: () => string;
|
||||
toLocaleString: () => string;
|
||||
toLocaleString: {
|
||||
(): string;
|
||||
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
||||
};
|
||||
pop: () => number;
|
||||
push: (...items: number[]) => number;
|
||||
concat: {
|
||||
@@ -109,14 +112,17 @@ export declare const thing: {
|
||||
//// [DtsFileErrors]
|
||||
|
||||
|
||||
mappedTypeWithAsClauseAndLateBoundProperty2.d.ts(24,118): error TS2526: A 'this' type is available only in a non-static member of a class or interface.
|
||||
mappedTypeWithAsClauseAndLateBoundProperty2.d.ts(27,118): error TS2526: A 'this' type is available only in a non-static member of a class or interface.
|
||||
|
||||
|
||||
==== mappedTypeWithAsClauseAndLateBoundProperty2.d.ts (1 errors) ====
|
||||
export declare const thing: {
|
||||
[x: number]: number;
|
||||
toString: () => string;
|
||||
toLocaleString: () => string;
|
||||
toLocaleString: {
|
||||
(): string;
|
||||
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
||||
};
|
||||
pop: () => number;
|
||||
push: (...items: number[]) => number;
|
||||
concat: {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
=== mappedTypeWithAsClauseAndLateBoundProperty2.ts ===
|
||||
export const thing = (null as any as { [K in keyof number[] as Exclude<K, "length">]: (number[])[K] });
|
||||
>thing : { [x: number]: number; toString: () => string; toLocaleString: () => string; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>(null as any as { [K in keyof number[] as Exclude<K, "length">]: (number[])[K] }) : { [x: number]: number; toString: () => string; toLocaleString: () => string; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>null as any as { [K in keyof number[] as Exclude<K, "length">]: (number[])[K] } : { [x: number]: number; toString: () => string; toLocaleString: () => string; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>thing : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>(null as any as { [K in keyof number[] as Exclude<K, "length">]: (number[])[K] }) : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>null as any as { [K in keyof number[] as Exclude<K, "length">]: (number[])[K] } : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray<number>[]): number[]; (...items: (number | ConcatArray<number>)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { <S extends number>(predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: <U>(callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { <S_1 extends number>(predicate: (value: number, index: number, array: number[]) => value is S_1, thisArg?: any): S_1[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: number[]) => U_1, initialValue: U_1): U_1; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; <U_2>(callbackfn: (previousValue: U_2, currentValue: number, currentIndex: number, array: number[]) => U_2, initialValue: U_2): U_2; }; find: { <S_2 extends number>(predicate: (value: number, index: number, obj: number[]) => value is S_2, thisArg?: any): S_2; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => IterableIterator<[number, number]>; keys: () => IterableIterator<number>; values: () => IterableIterator<number>; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: <U_3, This = undefined>(callback: (this: This, value: number, index: number, array: number[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[]; flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[]; [Symbol.iterator]: () => IterableIterator<number>; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }
|
||||
>null as any : any
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Assignability cache: 1,400 / 1,400 (nearest 100)
|
||||
Type Count: 900 / 900 (nearest 100)
|
||||
Instantiation count: 1,000 / 1,500 (nearest 500)
|
||||
Symbol count: 29,500 / 29,500 (nearest 500)
|
||||
Symbol count: 30,000 / 30,000 (nearest 500)
|
||||
|
||||
=== templateLiteralTypes4.ts ===
|
||||
// infer from number
|
||||
|
||||
@@ -3,35 +3,35 @@
|
||||
=== typedArrays-es6.ts ===
|
||||
const float32Array = new Float32Array(1);
|
||||
>float32Array : Symbol(float32Array, Decl(typedArrays-es6.ts, 0, 5))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...float32Array];
|
||||
>float32Array : Symbol(float32Array, Decl(typedArrays-es6.ts, 0, 5))
|
||||
|
||||
const float64Array = new Float64Array(1);
|
||||
>float64Array : Symbol(float64Array, Decl(typedArrays-es6.ts, 3, 5))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...float64Array];
|
||||
>float64Array : Symbol(float64Array, Decl(typedArrays-es6.ts, 3, 5))
|
||||
|
||||
const int16Array = new Int16Array(1);
|
||||
>int16Array : Symbol(int16Array, Decl(typedArrays-es6.ts, 6, 5))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...int16Array];
|
||||
>int16Array : Symbol(int16Array, Decl(typedArrays-es6.ts, 6, 5))
|
||||
|
||||
const int32Array = new Int32Array(1);
|
||||
>int32Array : Symbol(int32Array, Decl(typedArrays-es6.ts, 9, 5))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...int32Array];
|
||||
>int32Array : Symbol(int32Array, Decl(typedArrays-es6.ts, 9, 5))
|
||||
|
||||
const int8Array = new Int8Array(1);
|
||||
>int8Array : Symbol(int8Array, Decl(typedArrays-es6.ts, 12, 5))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...int8Array];
|
||||
>int8Array : Symbol(int8Array, Decl(typedArrays-es6.ts, 12, 5))
|
||||
@@ -45,28 +45,28 @@ const nodeList = new NodeList();
|
||||
|
||||
const uint16Array = new Uint16Array(1);
|
||||
>uint16Array : Symbol(uint16Array, Decl(typedArrays-es6.ts, 18, 5))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...uint16Array];
|
||||
>uint16Array : Symbol(uint16Array, Decl(typedArrays-es6.ts, 18, 5))
|
||||
|
||||
const uint32Array = new Uint32Array(1);
|
||||
>uint32Array : Symbol(uint32Array, Decl(typedArrays-es6.ts, 21, 5))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...uint32Array];
|
||||
>uint32Array : Symbol(uint32Array, Decl(typedArrays-es6.ts, 21, 5))
|
||||
|
||||
const uint8Array = new Uint8Array(1);
|
||||
>uint8Array : Symbol(uint8Array, Decl(typedArrays-es6.ts, 24, 5))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...uint8Array];
|
||||
>uint8Array : Symbol(uint8Array, Decl(typedArrays-es6.ts, 24, 5))
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(1);
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(typedArrays-es6.ts, 27, 5))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
[...uint8ClampedArray];
|
||||
>uint8ClampedArray : Symbol(uint8ClampedArray, Decl(typedArrays-es6.ts, 27, 5))
|
||||
|
||||
@@ -9,39 +9,39 @@ function CreateTypedArrayTypes() {
|
||||
|
||||
typedArrays[0] = Int8Array;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
typedArrays[1] = Uint8Array;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
typedArrays[2] = Int16Array;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
typedArrays[3] = Uint16Array;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
typedArrays[4] = Int32Array;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
typedArrays[5] = Uint32Array;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
typedArrays[6] = Float32Array;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
typedArrays[7] = Float64Array;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
typedArrays[8] = Uint8ClampedArray;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
return typedArrays;
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 1, 7))
|
||||
@@ -56,47 +56,47 @@ function CreateTypedArrayInstancesFromLength(obj: number) {
|
||||
|
||||
typedArrays[0] = new Int8Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
typedArrays[1] = new Uint8Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
typedArrays[2] = new Int16Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
typedArrays[3] = new Uint16Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
typedArrays[4] = new Int32Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
typedArrays[5] = new Uint32Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
typedArrays[6] = new Float32Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
typedArrays[7] = new Float64Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
typedArrays[8] = new Uint8ClampedArray(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 16, 7))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 15, 45))
|
||||
|
||||
return typedArrays;
|
||||
@@ -112,47 +112,47 @@ function CreateTypedArrayInstancesFromArray(obj: number[]) {
|
||||
|
||||
typedArrays[0] = new Int8Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
typedArrays[1] = new Uint8Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
typedArrays[2] = new Int16Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
typedArrays[3] = new Uint16Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
typedArrays[4] = new Int32Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
typedArrays[5] = new Uint32Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
typedArrays[6] = new Float32Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
typedArrays[7] = new Float64Array(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
typedArrays[8] = new Uint8ClampedArray(obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 31, 7))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 30, 44))
|
||||
|
||||
return typedArrays;
|
||||
@@ -169,63 +169,63 @@ 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 : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 45, 44))
|
||||
|
||||
@@ -244,63 +244,63 @@ 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 : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>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 : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 60, 47))
|
||||
|
||||
@@ -318,63 +318,63 @@ function CreateTypedArraysOf(obj) {
|
||||
typedArrays[0] = Int8Array.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Int8Array.of : Symbol(Int8ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Int8ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
typedArrays[1] = Uint8Array.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Uint8Array.of : Symbol(Uint8ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Uint8ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
typedArrays[2] = Int16Array.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Int16Array.of : Symbol(Int16ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Int16ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
typedArrays[3] = Uint16Array.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Uint16Array.of : Symbol(Uint16ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Uint16ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
typedArrays[4] = Int32Array.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Int32Array.of : Symbol(Int32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Int32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
typedArrays[5] = Uint32Array.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Uint32Array.of : Symbol(Uint32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Uint32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
typedArrays[6] = Float32Array.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Float32Array.of : Symbol(Float32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Float32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
typedArrays[7] = Float64Array.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Float64Array.of : Symbol(Float64ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Float64ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
typedArrays[8] = Uint8ClampedArray.of(...obj);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 76, 7))
|
||||
>Uint8ClampedArray.of : Symbol(Uint8ClampedArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Uint8ClampedArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 75, 29))
|
||||
|
||||
@@ -391,55 +391,55 @@ function CreateTypedArraysOf2() {
|
||||
typedArrays[0] = Int8Array.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Int8Array.of : Symbol(Int8ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Int8ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
typedArrays[1] = Uint8Array.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Uint8Array.of : Symbol(Uint8ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Uint8ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
typedArrays[2] = Int16Array.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Int16Array.of : Symbol(Int16ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Int16ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
typedArrays[3] = Uint16Array.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Uint16Array.of : Symbol(Uint16ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Uint16ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
typedArrays[4] = Int32Array.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Int32Array.of : Symbol(Int32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Int32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
typedArrays[5] = Uint32Array.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Uint32Array.of : Symbol(Uint32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Uint32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
typedArrays[6] = Float32Array.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Float32Array.of : Symbol(Float32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Float32ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
typedArrays[7] = Float64Array.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Float64Array.of : Symbol(Float64ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Float64ArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
typedArrays[8] = Uint8ClampedArray.of(1,2,3,4);
|
||||
>typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 91, 7))
|
||||
>Uint8ClampedArray.of : Symbol(Uint8ClampedArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>of : Symbol(Uint8ClampedArrayConstructor.of, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
return typedArrays;
|
||||
@@ -463,7 +463,7 @@ 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 : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -471,7 +471,7 @@ function CreateTypedArraysFromMapFn2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:number)
|
||||
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 : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -479,7 +479,7 @@ function CreateTypedArraysFromMapFn2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:number)
|
||||
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 : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -487,7 +487,7 @@ function CreateTypedArraysFromMapFn2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:number)
|
||||
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 : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -495,7 +495,7 @@ function CreateTypedArraysFromMapFn2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:number)
|
||||
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 : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -503,7 +503,7 @@ function CreateTypedArraysFromMapFn2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:number)
|
||||
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 : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -511,7 +511,7 @@ function CreateTypedArraysFromMapFn2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:number)
|
||||
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 : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -519,7 +519,7 @@ function CreateTypedArraysFromMapFn2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:number)
|
||||
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 : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -527,7 +527,7 @@ function CreateTypedArraysFromMapFn2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:number)
|
||||
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 : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 105, 40))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 57))
|
||||
@@ -550,7 +550,7 @@ 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 : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -558,7 +558,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike<number>, mapFn: (n:number, v:n
|
||||
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 : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -566,7 +566,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike<number>, mapFn: (n:number, v:n
|
||||
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 : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -574,7 +574,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike<number>, mapFn: (n:number, v:n
|
||||
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 : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -582,7 +582,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike<number>, mapFn: (n:number, v:n
|
||||
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 : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -590,7 +590,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike<number>, mapFn: (n:number, v:n
|
||||
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 : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -598,7 +598,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike<number>, mapFn: (n:number, v:n
|
||||
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 : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -606,7 +606,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike<number>, mapFn: (n:number, v:n
|
||||
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 : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -614,7 +614,7 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike<number>, mapFn: (n:number, v:n
|
||||
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 : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 120, 36))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 58))
|
||||
@@ -638,7 +638,7 @@ 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 : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -647,7 +647,7 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v
|
||||
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 : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -656,7 +656,7 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v
|
||||
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 : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -665,7 +665,7 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v
|
||||
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 : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -674,7 +674,7 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v
|
||||
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 : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -683,7 +683,7 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v
|
||||
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 : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -692,7 +692,7 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v
|
||||
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 : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -701,7 +701,7 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v
|
||||
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 : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -710,7 +710,7 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike<number>, mapFn: (n:number, v
|
||||
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 : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 135, 38))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 135, 60))
|
||||
@@ -738,7 +738,7 @@ 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 : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
@@ -747,7 +747,7 @@ function CreateTypedArraysFromThisObj2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:numbe
|
||||
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 : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
@@ -756,7 +756,7 @@ function CreateTypedArraysFromThisObj2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:numbe
|
||||
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 : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
@@ -765,7 +765,7 @@ function CreateTypedArraysFromThisObj2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:numbe
|
||||
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 : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
@@ -774,7 +774,7 @@ function CreateTypedArraysFromThisObj2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:numbe
|
||||
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 : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
@@ -783,7 +783,7 @@ function CreateTypedArraysFromThisObj2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:numbe
|
||||
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 : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
@@ -792,7 +792,7 @@ function CreateTypedArraysFromThisObj2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:numbe
|
||||
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 : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
@@ -801,7 +801,7 @@ function CreateTypedArraysFromThisObj2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:numbe
|
||||
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 : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
@@ -810,7 +810,7 @@ function CreateTypedArraysFromThisObj2<T>(obj:ArrayLike<T>, mapFn: (n:T, v:numbe
|
||||
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 : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
>obj : Symbol(obj, Decl(typedArrays.ts, 150, 42))
|
||||
>mapFn : Symbol(mapFn, Decl(typedArrays.ts, 150, 59))
|
||||
|
||||
@@ -6,39 +6,39 @@ function CheckAssignability() {
|
||||
|
||||
let arr_Int8Array = new Int8Array(1);
|
||||
>arr_Int8Array : Symbol(arr_Int8Array, Decl(typedArraysCrossAssignability01.ts, 1, 7))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
let arr_Uint8Array = new Uint8Array(1);
|
||||
>arr_Uint8Array : Symbol(arr_Uint8Array, Decl(typedArraysCrossAssignability01.ts, 2, 7))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
let arr_Int16Array = new Int16Array(1);
|
||||
>arr_Int16Array : Symbol(arr_Int16Array, Decl(typedArraysCrossAssignability01.ts, 3, 7))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
let arr_Uint16Array = new Uint16Array(1);
|
||||
>arr_Uint16Array : Symbol(arr_Uint16Array, Decl(typedArraysCrossAssignability01.ts, 4, 7))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
let arr_Int32Array = new Int32Array(1);
|
||||
>arr_Int32Array : Symbol(arr_Int32Array, Decl(typedArraysCrossAssignability01.ts, 5, 7))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
let arr_Uint32Array = new Uint32Array(1);
|
||||
>arr_Uint32Array : Symbol(arr_Uint32Array, Decl(typedArraysCrossAssignability01.ts, 6, 7))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
let arr_Float32Array = new Float32Array(1);
|
||||
>arr_Float32Array : Symbol(arr_Float32Array, Decl(typedArraysCrossAssignability01.ts, 7, 7))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
let arr_Float64Array = new Float64Array(1);
|
||||
>arr_Float64Array : Symbol(arr_Float64Array, Decl(typedArraysCrossAssignability01.ts, 8, 7))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
let arr_Uint8ClampedArray = new Uint8ClampedArray(1);
|
||||
>arr_Uint8ClampedArray : Symbol(arr_Uint8ClampedArray, Decl(typedArraysCrossAssignability01.ts, 9, 7))
|
||||
>Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.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, --, --))
|
||||
|
||||
arr_Int8Array = arr_Int8Array;
|
||||
>arr_Int8Array : Symbol(arr_Int8Array, Decl(typedArraysCrossAssignability01.ts, 1, 7))
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Assignability cache: 300 / 300 (nearest 100)
|
||||
Type Count: 1,500 / 1,500 (nearest 100)
|
||||
Instantiation count: 2,500 / 2,500 (nearest 500)
|
||||
Symbol count: 31,000 / 31,000 (nearest 500)
|
||||
Symbol count: 31,500 / 31,500 (nearest 500)
|
||||
|
||||
=== unionAndIntersectionInference3.ts ===
|
||||
// Repro from #30720
|
||||
|
||||
@@ -4,58 +4,58 @@
|
||||
// All declarations should pass, as valueOf has been specialized for all TypedArrays
|
||||
const typedArray0: Int8Array = (new Int8Array()).valueOf();
|
||||
>typedArray0 : Symbol(typedArray0, Decl(valueOfTypedArray.ts, 1, 5))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>(new Int8Array()).valueOf : Symbol(Int8Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
>Int8Array : Symbol(Int8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>valueOf : Symbol(Int8Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const typedArray1: Uint8Array = (new Uint8Array()).valueOf();
|
||||
>typedArray1 : Symbol(typedArray1, Decl(valueOfTypedArray.ts, 2, 5))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>(new Uint8Array()).valueOf : Symbol(Uint8Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>valueOf : Symbol(Uint8Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const typedArray2: Int16Array = (new Int16Array()).valueOf();
|
||||
>typedArray2 : Symbol(typedArray2, Decl(valueOfTypedArray.ts, 3, 5))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>(new Int16Array()).valueOf : Symbol(Int16Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
>Int16Array : Symbol(Int16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>valueOf : Symbol(Int16Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const typedArray3: Uint16Array = (new Uint16Array()).valueOf();
|
||||
>typedArray3 : Symbol(typedArray3, Decl(valueOfTypedArray.ts, 4, 5))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>(new Uint16Array()).valueOf : Symbol(Uint16Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint16Array : Symbol(Uint16Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>valueOf : Symbol(Uint16Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const typedArray4: Int32Array = (new Int32Array()).valueOf();
|
||||
>typedArray4 : Symbol(typedArray4, Decl(valueOfTypedArray.ts, 5, 5))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>(new Int32Array()).valueOf : Symbol(Int32Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
>Int32Array : Symbol(Int32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>valueOf : Symbol(Int32Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const typedArray5: Uint32Array = (new Uint32Array()).valueOf();
|
||||
>typedArray5 : Symbol(typedArray5, Decl(valueOfTypedArray.ts, 6, 5))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>(new Uint32Array()).valueOf : Symbol(Uint32Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
>Uint32Array : Symbol(Uint32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>valueOf : Symbol(Uint32Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const typedArray6: Float32Array = (new Float32Array()).valueOf();
|
||||
>typedArray6 : Symbol(typedArray6, Decl(valueOfTypedArray.ts, 7, 5))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>(new Float32Array()).valueOf : Symbol(Float32Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
>Float32Array : Symbol(Float32Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>valueOf : Symbol(Float32Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const typedArray7: Float64Array = (new Float64Array()).valueOf();
|
||||
>typedArray7 : Symbol(typedArray7, Decl(valueOfTypedArray.ts, 8, 5))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>(new Float64Array()).valueOf : Symbol(Float64Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
>Float64Array : Symbol(Float64Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2016.array.include.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, --, --) ... and 1 more)
|
||||
>valueOf : Symbol(Float64Array.valueOf, Decl(lib.es5.d.ts, --, --))
|
||||
|
||||
const typedArray8: BigInt64Array = (new BigInt64Array()).valueOf();
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Assignability cache: 600 / 600 (nearest 100)
|
||||
Type Count: 6,200 / 6,200 (nearest 100)
|
||||
Instantiation count: 1,000 / 1,000 (nearest 500)
|
||||
Symbol count: 14,000 / 14,000 (nearest 500)
|
||||
Symbol count: 14,500 / 14,500 (nearest 500)
|
||||
|
||||
=== verifyDefaultLib_webworker.ts ===
|
||||
var x: Worker;
|
||||
|
||||
63
tests/cases/compiler/arrayToLocaleStringES2015.ts
Normal file
63
tests/cases/compiler/arrayToLocaleStringES2015.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
// @target: es2015
|
||||
|
||||
let str: string;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
str = mixed.toLocaleString(); // OK
|
||||
str = mixed.toLocaleString('fr'); // OK
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
77
tests/cases/compiler/arrayToLocaleStringES2020.ts
Normal file
77
tests/cases/compiler/arrayToLocaleStringES2020.ts
Normal file
@@ -0,0 +1,77 @@
|
||||
// @target: es2020
|
||||
|
||||
let str: string;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // OK
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // OK
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // OK
|
||||
|
||||
const mixed = [1, new Date(), 59782, new Date()];
|
||||
str = mixed.toLocaleString(); // OK
|
||||
str = mixed.toLocaleString('de', { style: 'currency', currency: 'EUR' }); // OK
|
||||
str = (mixed as ReadonlyArray<number | Date>).toLocaleString('de', { currency: 'EUR', style: 'currency', timeZone: 'UTC' }); // OK
|
||||
|
||||
const bigInts = [BigInt(1), BigInt(2), BigInt(3)];
|
||||
str = bigInts.toLocaleString(); // OK
|
||||
str = bigInts.toLocaleString('en-US'); // OK
|
||||
str = bigInts.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // OK
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // OK
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // OK
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // OK
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // OK
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // OK
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // OK
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // OK
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const bigInt64Array = new BigInt64Array(3);
|
||||
str = bigInt64Array.toLocaleString(); // OK
|
||||
str = bigInt64Array.toLocaleString('en-US'); // OK
|
||||
str = bigInt64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
|
||||
const bigIntUint64Array = new BigUint64Array(3);
|
||||
str = bigIntUint64Array.toLocaleString(); // OK
|
||||
str = bigIntUint64Array.toLocaleString('en-US'); // OK
|
||||
str = bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // OK
|
||||
57
tests/cases/compiler/arrayToLocaleStringES5.ts
Normal file
57
tests/cases/compiler/arrayToLocaleStringES5.ts
Normal file
@@ -0,0 +1,57 @@
|
||||
// @target: es5
|
||||
|
||||
let str: string;
|
||||
const arr = [1, 2, 3];
|
||||
str = arr.toLocaleString(); // OK
|
||||
str = arr.toLocaleString('en-US'); // should be error
|
||||
str = arr.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const dates: readonly Date[] = [new Date(), new Date()];
|
||||
str = dates.toLocaleString(); // OK
|
||||
str = dates.toLocaleString('fr'); // should be error
|
||||
str = dates.toLocaleString('fr', { timeZone: 'UTC' }); // should be error
|
||||
|
||||
const int8Array = new Int8Array(3);
|
||||
str = int8Array.toLocaleString(); // OK
|
||||
str = int8Array.toLocaleString('en-US'); // should be error
|
||||
str = int8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const uint8Array = new Uint8Array(3);
|
||||
str = uint8Array.toLocaleString(); // OK
|
||||
str = uint8Array.toLocaleString('en-US'); // should be error
|
||||
str = uint8Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const uint8ClampedArray = new Uint8ClampedArray(3);
|
||||
str = uint8ClampedArray.toLocaleString(); // OK
|
||||
str = uint8ClampedArray.toLocaleString('en-US'); // should be error
|
||||
str = uint8ClampedArray.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const int16Array = new Int16Array(3);
|
||||
str = int16Array.toLocaleString(); // OK
|
||||
str = int16Array.toLocaleString('en-US'); // should be error
|
||||
str = int16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const uint16Array = new Uint16Array(3);
|
||||
str = uint16Array.toLocaleString(); // OK
|
||||
str = uint16Array.toLocaleString('en-US'); // should be error
|
||||
str = uint16Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const int32Array = new Int32Array(3);
|
||||
str = int32Array.toLocaleString(); // OK
|
||||
str = int32Array.toLocaleString('en-US'); // should be error
|
||||
str = int32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const uint32Array = new Uint32Array(3);
|
||||
str = uint32Array.toLocaleString(); // OK
|
||||
str = uint32Array.toLocaleString('en-US'); // should be error
|
||||
str = uint32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const float32Array = new Float32Array(3);
|
||||
str = float32Array.toLocaleString(); // OK
|
||||
str = float32Array.toLocaleString('en-US'); // should be error
|
||||
str = float32Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
|
||||
const float64Array = new Float64Array(3);
|
||||
str = float64Array.toLocaleString(); // OK
|
||||
str = float64Array.toLocaleString('en-US'); // should be error
|
||||
str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' }); // should be error
|
||||
Reference in New Issue
Block a user