From d627ff315ecb399a0988395d920611ee273a9ae8 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 29 Aug 2017 10:29:58 -0700 Subject: [PATCH 1/5] Follow up on #16223, Remove generic signatures from Array, ReadOnlyArray and TypedArrays --- src/lib/es2015.core.d.ts | 27 +++------------ src/lib/es2015.iterable.d.ts | 64 ++++++------------------------------ 2 files changed, 15 insertions(+), 76 deletions(-) diff --git a/src/lib/es2015.core.d.ts b/src/lib/es2015.core.d.ts index 9c84fc259c765..d1b12a9382707 100644 --- a/src/lib/es2015.core.d.ts +++ b/src/lib/es2015.core.d.ts @@ -10,9 +10,7 @@ interface Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (this: void, value: T, index: number, obj: Array) => boolean): T | undefined; - find(predicate: (this: void, value: T, index: number, obj: Array) => boolean, thisArg: undefined): T | undefined; - find(predicate: (this: Z, value: T, index: number, obj: Array) => boolean, thisArg: Z): T | undefined; + find(predicate: (this: void, value: T, index: number, obj: Array) => boolean, thisArg?: any): T | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -23,9 +21,7 @@ interface Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (this: void, value: T, index: number, obj: Array) => boolean): number; - findIndex(predicate: (this: void, value: T, index: number, obj: Array) => boolean, thisArg: undefined): number; - findIndex(predicate: (this: Z, value: T, index: number, obj: Array) => boolean, thisArg: Z): number; + findIndex(predicate: (this: void, value: T, index: number, obj: Array) => boolean, thisArg?: any): number; /** * Returns the this object after filling the section identified by start and end with value @@ -56,16 +52,7 @@ interface ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): Array; - from(arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): Array; - from(arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): Array; - - - /** - * Creates an array from an array-like object. - * @param arrayLike An array-like object to convert to an array. - */ - from(arrayLike: ArrayLike): Array; + from(arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): Array; /** * Returns a new array from a set of elements. @@ -363,9 +350,7 @@ interface ReadonlyArray { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (this: void, value: T, index: number, obj: ReadonlyArray) => boolean): T | undefined; - find(predicate: (this: void, value: T, index: number, obj: ReadonlyArray) => boolean, thisArg: undefined): T | undefined; - find(predicate: (this: Z, value: T, index: number, obj: ReadonlyArray) => boolean, thisArg: Z): T | undefined; + find(predicate: (value: T, index: number, obj: ReadonlyArray) => boolean, thisArg?: any): T | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -376,9 +361,7 @@ interface ReadonlyArray { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (this: void, value: T, index: number, obj: Array) => boolean): number; - findIndex(predicate: (this: void, value: T, index: number, obj: Array) => boolean, thisArg: undefined): number; - findIndex(predicate: (this: Z, value: T, index: number, obj: Array) => boolean, thisArg: Z): number; + findIndex(predicate: (value: T, index: number, obj: ReadonlyArray) => boolean, thisArg?: any): number; } interface RegExp { diff --git a/src/lib/es2015.iterable.d.ts b/src/lib/es2015.iterable.d.ts index 049b1898b9b6f..23e23510d3c2b 100644 --- a/src/lib/es2015.iterable.d.ts +++ b/src/lib/es2015.iterable.d.ts @@ -54,15 +54,7 @@ interface ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): Array; - from(iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): Array; - from(iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): Array; - - /** - * Creates an array from an iterable object. - * @param iterable An iterable object to convert to an array. - */ - from(iterable: Iterable): Array; + from(iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): Array; } interface ReadonlyArray { @@ -246,11 +238,7 @@ interface Int8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; - - from(arrayLike: Iterable): Int8Array; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } /** @@ -282,11 +270,7 @@ interface Uint8ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; - - from(arrayLike: Iterable): Uint8Array; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } /** @@ -321,11 +305,7 @@ interface Uint8ClampedArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; - - from(arrayLike: Iterable): Uint8ClampedArray; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } /** @@ -359,11 +339,7 @@ interface Int16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; - - from(arrayLike: Iterable): Int16Array; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } /** @@ -395,11 +371,7 @@ interface Uint16ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; - - from(arrayLike: Iterable): Uint16Array; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } /** @@ -431,11 +403,7 @@ interface Int32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; - - from(arrayLike: Iterable): Int32Array; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } /** @@ -467,11 +435,7 @@ interface Uint32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; - - from(arrayLike: Iterable): Uint32Array; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } /** @@ -503,11 +467,7 @@ interface Float32ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; - - from(arrayLike: Iterable): Float32Array; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } /** @@ -539,9 +499,5 @@ interface Float64ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; - from(arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; - from(arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; - - from(arrayLike: Iterable): Float64Array; + from(arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } From 316ae444ca0777fde038ed1d47e30281a33676b5 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 29 Aug 2017 10:38:51 -0700 Subject: [PATCH 2/5] Remove test --- .../thisTypeInNativeThisAssignableMethods.js | 709 ------ ...sTypeInNativeThisAssignableMethods.symbols | 1380 ------------ ...hisTypeInNativeThisAssignableMethods.types | 1931 ----------------- .../thisTypeInNativeThisAssignableMethods.ts | 398 ---- 4 files changed, 4418 deletions(-) delete mode 100644 tests/baselines/reference/thisTypeInNativeThisAssignableMethods.js delete mode 100644 tests/baselines/reference/thisTypeInNativeThisAssignableMethods.symbols delete mode 100644 tests/baselines/reference/thisTypeInNativeThisAssignableMethods.types delete mode 100644 tests/cases/compiler/thisTypeInNativeThisAssignableMethods.ts diff --git a/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.js b/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.js deleted file mode 100644 index fc4e6d7825320..0000000000000 --- a/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.js +++ /dev/null @@ -1,709 +0,0 @@ -//// [thisTypeInNativeThisAssignableMethods.ts] -class A { - options: string[]; - - addOptions(options: string[]) { - if (!this.options) { - this.options = []; - } - options.forEach(function (item) { - this.options.push(item); - }, this); - return this; - } - - testUndefined(options: string[]) { - const undefinedArr: Array = [] - options.forEach(function () { - undefinedArr.push(this); - }); // case1 - options.forEach(function () { - undefinedArr.push(this); - }, undefined); // case2 - options.forEach(function () { - undefinedArr.push(this); - }, null); // case3 - - const arrLike = {} as ArrayLike - Array.from(arrLike, function (item) { - return this === undefined ? 2 : 1; - }, undefined) - - const iterLike = [] as Iterable - Array.from(iterLike, function (item) { - return this === undefined ? 2 : 1; - }, undefined) - } - - test(options: string[]) { - const thisObject = { - options: [] as string[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - - const arrLike = {} as ArrayLike - Array.from(arrLike, function (item) { - return this.options[item].length - }, thisObject) - - const iterLike = [] as Iterable - Array.from(iterLike, function (item) { - return this.options[item].length - }, thisObject) - } - - test1(options: string[]) { - const thisObject = { - options: [] as ReadonlyArray - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test2(options: Int8Array[]) { - const thisObject = { - options: [] as Int8Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test3(options: Uint8Array[]) { - const thisObject = { - options: [] as Uint8Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test4(options: Float32Array[]) { - const thisObject = { - options: [] as Float32Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test5(options: Uint8ClampedArray[]) { - const thisObject = { - options: [] as Uint8ClampedArray[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test6(options: Int16Array[]) { - const thisObject = { - options: [] as Int16Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test7(options: Uint16Array[]) { - const thisObject = { - options: [] as Uint16Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test8(options: Uint32Array[]) { - const thisObject = { - options: [] as Uint32Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test9(options: Float64Array[]) { - const thisObject = { - options: [] as Float64Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } -} - - -//// [thisTypeInNativeThisAssignableMethods.js] -class A { - addOptions(options) { - if (!this.options) { - this.options = []; - } - options.forEach(function (item) { - this.options.push(item); - }, this); - return this; - } - testUndefined(options) { - const undefinedArr = []; - options.forEach(function () { - undefinedArr.push(this); - }); // case1 - options.forEach(function () { - undefinedArr.push(this); - }, undefined); // case2 - options.forEach(function () { - undefinedArr.push(this); - }, null); // case3 - const arrLike = {}; - Array.from(arrLike, function (item) { - return this === undefined ? 2 : 1; - }, undefined); - const iterLike = []; - Array.from(iterLike, function (item) { - return this === undefined ? 2 : 1; - }, undefined); - } - test(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - const arrLike = {}; - Array.from(arrLike, function (item) { - return this.options[item].length; - }, thisObject); - const iterLike = []; - Array.from(iterLike, function (item) { - return this.options[item].length; - }, thisObject); - } - test1(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - test2(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - test3(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - test4(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - test5(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - test6(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - test7(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - test8(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - test9(options) { - const thisObject = { - options: [] - }; - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } -} diff --git a/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.symbols b/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.symbols deleted file mode 100644 index 2099b98c8b586..0000000000000 --- a/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.symbols +++ /dev/null @@ -1,1380 +0,0 @@ -=== tests/cases/compiler/thisTypeInNativeThisAssignableMethods.ts === -class A { ->A : Symbol(A, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 0)) - - options: string[]; ->options : Symbol(A.options, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 9)) - - addOptions(options: string[]) { ->addOptions : Symbol(A.addOptions, Decl(thisTypeInNativeThisAssignableMethods.ts, 1, 22)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 3, 15)) - - if (!this.options) { ->this.options : Symbol(A.options, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 9)) ->this : Symbol(A, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 0)) ->options : Symbol(A.options, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 9)) - - this.options = []; ->this.options : Symbol(A.options, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 9)) ->this : Symbol(A, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 0)) ->options : Symbol(A.options, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 9)) - } - options.forEach(function (item) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 3, 15)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->item : Symbol(item, Decl(thisTypeInNativeThisAssignableMethods.ts, 7, 34)) - - this.options.push(item); ->item : Symbol(item, Decl(thisTypeInNativeThisAssignableMethods.ts, 7, 34)) - - }, this); ->this : Symbol(A, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 0)) - - return this; ->this : Symbol(A, Decl(thisTypeInNativeThisAssignableMethods.ts, 0, 0)) - } - - testUndefined(options: string[]) { ->testUndefined : Symbol(A.testUndefined, Decl(thisTypeInNativeThisAssignableMethods.ts, 11, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 13, 18)) - - const undefinedArr: Array = [] ->undefinedArr : Symbol(undefinedArr, Decl(thisTypeInNativeThisAssignableMethods.ts, 14, 13)) ->Array : Symbol(Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) - - options.forEach(function () { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 13, 18)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) - - undefinedArr.push(this); ->undefinedArr.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) ->undefinedArr : Symbol(undefinedArr, Decl(thisTypeInNativeThisAssignableMethods.ts, 14, 13)) ->push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) - - }); // case1 - options.forEach(function () { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 13, 18)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) - - undefinedArr.push(this); ->undefinedArr.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) ->undefinedArr : Symbol(undefinedArr, Decl(thisTypeInNativeThisAssignableMethods.ts, 14, 13)) ->push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) - - }, undefined); // case2 ->undefined : Symbol(undefined) - - options.forEach(function () { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 13, 18)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) - - undefinedArr.push(this); ->undefinedArr.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) ->undefinedArr : Symbol(undefinedArr, Decl(thisTypeInNativeThisAssignableMethods.ts, 14, 13)) ->push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) - - }, null); // case3 - - const arrLike = {} as ArrayLike ->arrLike : Symbol(arrLike, Decl(thisTypeInNativeThisAssignableMethods.ts, 25, 13)) ->ArrayLike : Symbol(ArrayLike, Decl(lib.es5.d.ts, --, --)) - - Array.from(arrLike, function (item) { ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->Array : Symbol(Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->arrLike : Symbol(arrLike, Decl(thisTypeInNativeThisAssignableMethods.ts, 25, 13)) ->item : Symbol(item, Decl(thisTypeInNativeThisAssignableMethods.ts, 26, 38)) - - return this === undefined ? 2 : 1; ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->undefined : Symbol(undefined) - - }, undefined) ->undefined : Symbol(undefined) - - const iterLike = [] as Iterable ->iterLike : Symbol(iterLike, Decl(thisTypeInNativeThisAssignableMethods.ts, 30, 13)) ->Iterable : Symbol(Iterable, Decl(lib.es2015.iterable.d.ts, --, --)) - - Array.from(iterLike, function (item) { ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->Array : Symbol(Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->iterLike : Symbol(iterLike, Decl(thisTypeInNativeThisAssignableMethods.ts, 30, 13)) ->item : Symbol(item, Decl(thisTypeInNativeThisAssignableMethods.ts, 31, 39)) - - return this === undefined ? 2 : 1; ->this : Symbol(this, Decl(lib.es2015.iterable.d.ts, --, --)) ->undefined : Symbol(undefined) - - }, undefined) ->undefined : Symbol(undefined) - } - - test(options: string[]) { ->test : Symbol(A.test, Decl(thisTypeInNativeThisAssignableMethods.ts, 34, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 36, 9)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - options: [] as string[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 36, 9)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 41, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 41, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 41, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 41, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 36, 9)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 45, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 45, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 45, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 45, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 36, 9)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 49, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 49, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 49, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 49, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 36, 9)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 53, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 53, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 53, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 53, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 53, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 36, 9)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 58, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 58, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 58, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 58, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 36, 9)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 62, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 62, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 62, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 62, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 36, 9)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 66, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 66, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 66, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 66, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - const arrLike = {} as ArrayLike ->arrLike : Symbol(arrLike, Decl(thisTypeInNativeThisAssignableMethods.ts, 70, 13)) ->ArrayLike : Symbol(ArrayLike, Decl(lib.es5.d.ts, --, --)) - - Array.from(arrLike, function (item) { ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->Array : Symbol(Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->arrLike : Symbol(arrLike, Decl(thisTypeInNativeThisAssignableMethods.ts, 70, 13)) ->item : Symbol(item, Decl(thisTypeInNativeThisAssignableMethods.ts, 71, 38)) - - return this.options[item].length ->this.options[item].length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) ->item : Symbol(item, Decl(thisTypeInNativeThisAssignableMethods.ts, 71, 38)) ->length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) - - }, thisObject) ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - - const iterLike = [] as Iterable ->iterLike : Symbol(iterLike, Decl(thisTypeInNativeThisAssignableMethods.ts, 75, 13)) ->Iterable : Symbol(Iterable, Decl(lib.es2015.iterable.d.ts, --, --)) - - Array.from(iterLike, function (item) { ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->Array : Symbol(Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->iterLike : Symbol(iterLike, Decl(thisTypeInNativeThisAssignableMethods.ts, 75, 13)) ->item : Symbol(item, Decl(thisTypeInNativeThisAssignableMethods.ts, 76, 39)) - - return this.options[item].length ->this.options[item].length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) ->this : Symbol(this, Decl(lib.es2015.iterable.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 28)) ->item : Symbol(item, Decl(thisTypeInNativeThisAssignableMethods.ts, 76, 39)) ->length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) - - }, thisObject) ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 37, 13)) - } - - test1(options: string[]) { ->test1 : Symbol(A.test1, Decl(thisTypeInNativeThisAssignableMethods.ts, 79, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 81, 10)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 13)) - - options: [] as ReadonlyArray ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 28)) ->ReadonlyArray : Symbol(ReadonlyArray, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 81, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 86, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 86, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 86, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 86, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 81, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 90, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 90, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 90, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 90, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 81, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 94, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 94, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 94, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 94, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 81, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 98, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 98, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 98, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 98, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 98, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 81, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 103, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 103, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 103, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 103, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 81, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 107, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 107, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 107, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 107, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 81, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 111, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 111, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 111, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 111, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 82, 13)) - } - - test2(options: Int8Array[]) { ->test2 : Symbol(A.test2, Decl(thisTypeInNativeThisAssignableMethods.ts, 114, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 116, 10)) ->Int8Array : Symbol(Int8Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 13)) - - options: [] as Int8Array[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 28)) ->Int8Array : Symbol(Int8Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 116, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 121, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 121, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 121, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 121, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 116, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 125, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 125, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 125, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 125, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 116, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 129, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 129, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 129, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 129, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 116, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 133, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 133, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 133, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 133, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 133, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 116, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 138, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 138, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 138, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 138, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 116, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 142, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 142, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 142, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 142, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 116, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 146, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 146, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 146, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 146, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 117, 13)) - } - - test3(options: Uint8Array[]) { ->test3 : Symbol(A.test3, Decl(thisTypeInNativeThisAssignableMethods.ts, 149, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 151, 10)) ->Uint8Array : Symbol(Uint8Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 13)) - - options: [] as Uint8Array[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 28)) ->Uint8Array : Symbol(Uint8Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 151, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 156, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 156, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 156, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 156, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 151, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 160, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 160, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 160, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 160, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 151, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 164, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 164, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 164, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 164, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 151, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 168, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 168, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 168, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 168, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 168, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 151, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 173, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 173, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 173, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 173, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 151, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 177, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 177, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 177, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 177, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 151, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 181, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 181, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 181, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 181, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 152, 13)) - } - - test4(options: Float32Array[]) { ->test4 : Symbol(A.test4, Decl(thisTypeInNativeThisAssignableMethods.ts, 184, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 186, 10)) ->Float32Array : Symbol(Float32Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 13)) - - options: [] as Float32Array[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 28)) ->Float32Array : Symbol(Float32Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 186, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 191, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 191, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 191, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 191, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 186, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 195, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 195, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 195, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 195, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 186, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 199, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 199, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 199, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 199, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 186, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 203, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 203, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 203, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 203, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 203, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 186, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 208, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 208, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 208, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 208, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 186, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 212, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 212, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 212, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 212, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 186, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 216, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 216, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 216, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 216, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 187, 13)) - } - - test5(options: Uint8ClampedArray[]) { ->test5 : Symbol(A.test5, Decl(thisTypeInNativeThisAssignableMethods.ts, 219, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 221, 10)) ->Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 13)) - - options: [] as Uint8ClampedArray[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 28)) ->Uint8ClampedArray : Symbol(Uint8ClampedArray, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 221, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 226, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 226, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 226, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 226, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 221, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 230, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 230, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 230, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 230, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 221, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 234, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 234, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 234, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 234, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 221, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 238, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 238, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 238, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 238, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 238, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 221, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 243, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 243, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 243, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 243, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 221, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 247, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 247, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 247, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 247, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 221, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 251, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 251, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 251, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 251, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 222, 13)) - } - - test6(options: Int16Array[]) { ->test6 : Symbol(A.test6, Decl(thisTypeInNativeThisAssignableMethods.ts, 254, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 256, 10)) ->Int16Array : Symbol(Int16Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 13)) - - options: [] as Int16Array[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 28)) ->Int16Array : Symbol(Int16Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 256, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 261, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 261, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 261, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 261, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 256, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 265, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 265, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 265, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 265, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 256, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 269, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 269, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 269, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 269, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 256, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 273, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 273, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 273, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 273, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 273, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 256, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 278, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 278, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 278, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 278, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 256, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 282, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 282, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 282, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 282, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 256, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 286, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 286, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 286, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 286, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 257, 13)) - } - - test7(options: Uint16Array[]) { ->test7 : Symbol(A.test7, Decl(thisTypeInNativeThisAssignableMethods.ts, 289, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 291, 10)) ->Uint16Array : Symbol(Uint16Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 13)) - - options: [] as Uint16Array[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 28)) ->Uint16Array : Symbol(Uint16Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 291, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 296, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 296, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 296, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 296, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 291, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 300, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 300, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 300, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 300, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 291, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 304, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 304, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 304, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 304, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 291, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 308, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 308, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 308, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 308, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 308, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 291, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 313, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 313, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 313, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 313, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 291, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 317, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 317, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 317, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 317, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 291, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 321, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 321, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 321, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 321, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 292, 13)) - } - - test8(options: Uint32Array[]) { ->test8 : Symbol(A.test8, Decl(thisTypeInNativeThisAssignableMethods.ts, 324, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 326, 10)) ->Uint32Array : Symbol(Uint32Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 13)) - - options: [] as Uint32Array[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 28)) ->Uint32Array : Symbol(Uint32Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 326, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 331, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 331, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 331, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 331, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 326, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 335, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 335, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 335, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 335, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 326, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 339, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 339, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 339, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 339, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 326, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 343, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 343, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 343, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 343, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 343, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 326, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 348, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 348, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 348, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 348, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 326, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 352, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 352, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 352, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 352, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 326, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 356, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 356, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 356, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 356, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 327, 13)) - } - - test9(options: Float64Array[]) { ->test9 : Symbol(A.test9, Decl(thisTypeInNativeThisAssignableMethods.ts, 359, 5)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 361, 10)) ->Float64Array : Symbol(Float64Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - const thisObject = { ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 13)) - - options: [] as Float64Array[] ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 28)) ->Float64Array : Symbol(Float64Array, Decl(lib.es2016.array.include.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) - - }; - - options.find(function (val, index) { ->options.find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 361, 10)) ->find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 366, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 366, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 366, 31)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 366, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 13)) - - options.findIndex(function (val, index) { ->options.findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 361, 10)) ->findIndex : Symbol(Array.findIndex, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 370, 36)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 370, 40)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 370, 36)) ->this.options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 28)) ->this : Symbol(this, Decl(lib.es2015.core.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 28)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 370, 40)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 13)) - - options.forEach(function (val, index) { ->options.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 361, 10)) ->forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 374, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 374, 38)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 374, 34)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 374, 38)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 13)) - - options.map(function (val, index) { ->options.map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 361, 10)) ->map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 378, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 378, 34)) - - if (val === this.options[index]) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 378, 30)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 378, 34)) - - return this.options[index]; ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 378, 34)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 13)) - - options.some(function (val, index) { ->options.some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 361, 10)) ->some : Symbol(Array.some, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 383, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 383, 35)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 383, 31)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 383, 35)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 13)) - - options.filter(function (val, index) { ->options.filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 361, 10)) ->filter : Symbol(Array.filter, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 387, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 387, 37)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 387, 33)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 387, 37)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 13)) - - options.every(function (val, index) { ->options.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->options : Symbol(options, Decl(thisTypeInNativeThisAssignableMethods.ts, 361, 10)) ->every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --)) ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 391, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 391, 36)) - - return val === this.options[index]; ->val : Symbol(val, Decl(thisTypeInNativeThisAssignableMethods.ts, 391, 32)) ->index : Symbol(index, Decl(thisTypeInNativeThisAssignableMethods.ts, 391, 36)) - - }, thisObject); ->thisObject : Symbol(thisObject, Decl(thisTypeInNativeThisAssignableMethods.ts, 362, 13)) - } -} - diff --git a/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.types b/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.types deleted file mode 100644 index fecae87d4b1b0..0000000000000 --- a/tests/baselines/reference/thisTypeInNativeThisAssignableMethods.types +++ /dev/null @@ -1,1931 +0,0 @@ -=== tests/cases/compiler/thisTypeInNativeThisAssignableMethods.ts === -class A { ->A : A - - options: string[]; ->options : string[] - - addOptions(options: string[]) { ->addOptions : (options: string[]) => this ->options : string[] - - if (!this.options) { ->!this.options : boolean ->this.options : string[] ->this : this ->options : string[] - - this.options = []; ->this.options = [] : undefined[] ->this.options : string[] ->this : this ->options : string[] ->[] : undefined[] - } - options.forEach(function (item) { ->options.forEach(function (item) { this.options.push(item); }, this) : void ->options.forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->options : string[] ->forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->function (item) { this.options.push(item); } : (item: string) => void ->item : string - - this.options.push(item); ->this.options.push(item) : any ->this.options.push : any ->this.options : any ->this : any ->options : any ->push : any ->item : string - - }, this); ->this : this - - return this; ->this : this - } - - testUndefined(options: string[]) { ->testUndefined : (options: string[]) => void ->options : string[] - - const undefinedArr: Array = [] ->undefinedArr : undefined[] ->Array : T[] ->[] : undefined[] - - options.forEach(function () { ->options.forEach(function () { undefinedArr.push(this); }) : void ->options.forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->options : string[] ->forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->function () { undefinedArr.push(this); } : () => void - - undefinedArr.push(this); ->undefinedArr.push(this) : number ->undefinedArr.push : (...items: undefined[]) => number ->undefinedArr : undefined[] ->push : (...items: undefined[]) => number ->this : any - - }); // case1 - options.forEach(function () { ->options.forEach(function () { undefinedArr.push(this); }, undefined) : void ->options.forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->options : string[] ->forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->function () { undefinedArr.push(this); } : () => void - - undefinedArr.push(this); ->undefinedArr.push(this) : number ->undefinedArr.push : (...items: undefined[]) => number ->undefinedArr : undefined[] ->push : (...items: undefined[]) => number ->this : any - - }, undefined); // case2 ->undefined : undefined - - options.forEach(function () { ->options.forEach(function () { undefinedArr.push(this); }, null) : void ->options.forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->options : string[] ->forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->function () { undefinedArr.push(this); } : () => void - - undefinedArr.push(this); ->undefinedArr.push(this) : number ->undefinedArr.push : (...items: undefined[]) => number ->undefinedArr : undefined[] ->push : (...items: undefined[]) => number ->this : any - - }, null); // case3 ->null : null - - const arrLike = {} as ArrayLike ->arrLike : ArrayLike ->{} as ArrayLike : ArrayLike ->{} : {} ->ArrayLike : ArrayLike - - Array.from(arrLike, function (item) { ->Array.from(arrLike, function (item) { return this === undefined ? 2 : 1; }, undefined) : (2 | 1)[] ->Array.from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } ->Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } ->arrLike : ArrayLike ->function (item) { return this === undefined ? 2 : 1; } : (this: void, item: number) => 2 | 1 ->item : number - - return this === undefined ? 2 : 1; ->this === undefined ? 2 : 1 : 2 | 1 ->this === undefined : boolean ->this : void ->undefined : undefined ->2 : 2 ->1 : 1 - - }, undefined) ->undefined : undefined - - const iterLike = [] as Iterable ->iterLike : Iterable ->[] as Iterable : Iterable ->[] : undefined[] ->Iterable : Iterable - - Array.from(iterLike, function (item) { ->Array.from(iterLike, function (item) { return this === undefined ? 2 : 1; }, undefined) : (2 | 1)[] ->Array.from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } ->Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } ->iterLike : Iterable ->function (item) { return this === undefined ? 2 : 1; } : (this: void, item: number) => 2 | 1 ->item : number - - return this === undefined ? 2 : 1; ->this === undefined ? 2 : 1 : 2 | 1 ->this === undefined : boolean ->this : void ->undefined : undefined ->2 : 2 ->1 : 1 - - }, undefined) ->undefined : undefined - } - - test(options: string[]) { ->test : (options: string[]) => void ->options : string[] - - const thisObject = { ->thisObject : { options: string[]; } ->{ options: [] as string[] } : { options: string[]; } - - options: [] as string[] ->options : string[] ->[] as string[] : string[] ->[] : undefined[] - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : string ->options.find : { (predicate: (this: void, value: string, index: number, obj: string[]) => boolean): string; (predicate: (this: void, value: string, index: number, obj: string[]) => boolean, thisArg: undefined): string; (predicate: (this: Z, value: string, index: number, obj: string[]) => boolean, thisArg: Z): string; } ->options : string[] ->find : { (predicate: (this: void, value: string, index: number, obj: string[]) => boolean): string; (predicate: (this: void, value: string, index: number, obj: string[]) => boolean, thisArg: undefined): string; (predicate: (this: Z, value: string, index: number, obj: string[]) => boolean, thisArg: Z): string; } ->function (val, index) { return val === this.options[index]; } : (this: { options: string[]; }, val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : string ->this.options : string[] ->this : { options: string[]; } ->options : string[] ->index : number - - }, thisObject); ->thisObject : { options: string[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: string, index: number, obj: string[]) => boolean): number; (predicate: (this: void, value: string, index: number, obj: string[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: string, index: number, obj: string[]) => boolean, thisArg: Z): number; } ->options : string[] ->findIndex : { (predicate: (this: void, value: string, index: number, obj: string[]) => boolean): number; (predicate: (this: void, value: string, index: number, obj: string[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: string, index: number, obj: string[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: string[]; }, val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : string ->this.options : string[] ->this : { options: string[]; } ->options : string[] ->index : number - - }, thisObject); ->thisObject : { options: string[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->options : string[] ->forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: string[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[] ->options : string[] ->map : (callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: string, index: number) => any ->val : string ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: string[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any) => boolean ->options : string[] ->some : (callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: string[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : string[] ->options.filter : { (callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: string, index: number, array: string[]) => any, thisArg?: any): string[]; } ->options : string[] ->filter : { (callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: string, index: number, array: string[]) => any, thisArg?: any): string[]; } ->function (val, index) { return val === this.options[index]; } : (val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: string[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any) => boolean ->options : string[] ->every : (callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: string[]; } - - const arrLike = {} as ArrayLike ->arrLike : ArrayLike ->{} as ArrayLike : ArrayLike ->{} : {} ->ArrayLike : ArrayLike - - Array.from(arrLike, function (item) { ->Array.from(arrLike, function (item) { return this.options[item].length }, thisObject) : number[] ->Array.from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } ->Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } ->arrLike : ArrayLike ->function (item) { return this.options[item].length } : (this: { options: string[]; }, item: number) => number ->item : number - - return this.options[item].length ->this.options[item].length : number ->this.options[item] : string ->this.options : string[] ->this : { options: string[]; } ->options : string[] ->item : number ->length : number - - }, thisObject) ->thisObject : { options: string[]; } - - const iterLike = [] as Iterable ->iterLike : Iterable ->[] as Iterable : Iterable ->[] : undefined[] ->Iterable : Iterable - - Array.from(iterLike, function (item) { ->Array.from(iterLike, function (item) { return this.options[item].length }, thisObject) : number[] ->Array.from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } ->Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } ->iterLike : Iterable ->function (item) { return this.options[item].length } : (this: { options: string[]; }, item: number) => number ->item : number - - return this.options[item].length ->this.options[item].length : number ->this.options[item] : string ->this.options : string[] ->this : { options: string[]; } ->options : string[] ->item : number ->length : number - - }, thisObject) ->thisObject : { options: string[]; } - } - - test1(options: string[]) { ->test1 : (options: string[]) => void ->options : string[] - - const thisObject = { ->thisObject : { options: ReadonlyArray; } ->{ options: [] as ReadonlyArray } : { options: ReadonlyArray; } - - options: [] as ReadonlyArray ->options : ReadonlyArray ->[] as ReadonlyArray : ReadonlyArray ->[] : undefined[] ->ReadonlyArray : ReadonlyArray - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : string ->options.find : { (predicate: (this: void, value: string, index: number, obj: string[]) => boolean): string; (predicate: (this: void, value: string, index: number, obj: string[]) => boolean, thisArg: undefined): string; (predicate: (this: Z, value: string, index: number, obj: string[]) => boolean, thisArg: Z): string; } ->options : string[] ->find : { (predicate: (this: void, value: string, index: number, obj: string[]) => boolean): string; (predicate: (this: void, value: string, index: number, obj: string[]) => boolean, thisArg: undefined): string; (predicate: (this: Z, value: string, index: number, obj: string[]) => boolean, thisArg: Z): string; } ->function (val, index) { return val === this.options[index]; } : (this: { options: ReadonlyArray; }, val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : string ->this.options : ReadonlyArray ->this : { options: ReadonlyArray; } ->options : ReadonlyArray ->index : number - - }, thisObject); ->thisObject : { options: ReadonlyArray; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: string, index: number, obj: string[]) => boolean): number; (predicate: (this: void, value: string, index: number, obj: string[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: string, index: number, obj: string[]) => boolean, thisArg: Z): number; } ->options : string[] ->findIndex : { (predicate: (this: void, value: string, index: number, obj: string[]) => boolean): number; (predicate: (this: void, value: string, index: number, obj: string[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: string, index: number, obj: string[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: ReadonlyArray; }, val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : string ->this.options : ReadonlyArray ->this : { options: ReadonlyArray; } ->options : ReadonlyArray ->index : number - - }, thisObject); ->thisObject : { options: ReadonlyArray; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->options : string[] ->forEach : (callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: ReadonlyArray; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[] ->options : string[] ->map : (callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: string, index: number) => any ->val : string ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: ReadonlyArray; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any) => boolean ->options : string[] ->some : (callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: ReadonlyArray; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : string[] ->options.filter : { (callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: string, index: number, array: string[]) => any, thisArg?: any): string[]; } ->options : string[] ->filter : { (callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: string, index: number, array: string[]) => any, thisArg?: any): string[]; } ->function (val, index) { return val === this.options[index]; } : (val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: ReadonlyArray; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any) => boolean ->options : string[] ->every : (callbackfn: (value: string, index: number, array: string[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: string, index: number) => boolean ->val : string ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : string ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: ReadonlyArray; } - } - - test2(options: Int8Array[]) { ->test2 : (options: Int8Array[]) => void ->options : Int8Array[] ->Int8Array : Int8Array - - const thisObject = { ->thisObject : { options: Int8Array[]; } ->{ options: [] as Int8Array[] } : { options: Int8Array[]; } - - options: [] as Int8Array[] ->options : Int8Array[] ->[] as Int8Array[] : Int8Array[] ->[] : undefined[] ->Int8Array : Int8Array - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : Int8Array ->options.find : { (predicate: (this: void, value: Int8Array, index: number, obj: Int8Array[]) => boolean): Int8Array; (predicate: (this: void, value: Int8Array, index: number, obj: Int8Array[]) => boolean, thisArg: undefined): Int8Array; (predicate: (this: Z, value: Int8Array, index: number, obj: Int8Array[]) => boolean, thisArg: Z): Int8Array; } ->options : Int8Array[] ->find : { (predicate: (this: void, value: Int8Array, index: number, obj: Int8Array[]) => boolean): Int8Array; (predicate: (this: void, value: Int8Array, index: number, obj: Int8Array[]) => boolean, thisArg: undefined): Int8Array; (predicate: (this: Z, value: Int8Array, index: number, obj: Int8Array[]) => boolean, thisArg: Z): Int8Array; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Int8Array[]; }, val: Int8Array, index: number) => boolean ->val : Int8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int8Array ->this.options[index] : Int8Array ->this.options : Int8Array[] ->this : { options: Int8Array[]; } ->options : Int8Array[] ->index : number - - }, thisObject); ->thisObject : { options: Int8Array[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: Int8Array, index: number, obj: Int8Array[]) => boolean): number; (predicate: (this: void, value: Int8Array, index: number, obj: Int8Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Int8Array, index: number, obj: Int8Array[]) => boolean, thisArg: Z): number; } ->options : Int8Array[] ->findIndex : { (predicate: (this: void, value: Int8Array, index: number, obj: Int8Array[]) => boolean): number; (predicate: (this: void, value: Int8Array, index: number, obj: Int8Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Int8Array, index: number, obj: Int8Array[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Int8Array[]; }, val: Int8Array, index: number) => boolean ->val : Int8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int8Array ->this.options[index] : Int8Array ->this.options : Int8Array[] ->this : { options: Int8Array[]; } ->options : Int8Array[] ->index : number - - }, thisObject); ->thisObject : { options: Int8Array[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => void, thisArg?: any) => void ->options : Int8Array[] ->forEach : (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: Int8Array, index: number) => boolean ->val : Int8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int8Array[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => U, thisArg?: any) => U[] ->options : Int8Array[] ->map : (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: Int8Array, index: number) => any ->val : Int8Array ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : Int8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int8Array[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => boolean, thisArg?: any) => boolean ->options : Int8Array[] ->some : (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Int8Array, index: number) => boolean ->val : Int8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int8Array[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : Int8Array[] ->options.filter : { (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => any, thisArg?: any): Int8Array[]; } ->options : Int8Array[] ->filter : { (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => any, thisArg?: any): Int8Array[]; } ->function (val, index) { return val === this.options[index]; } : (val: Int8Array, index: number) => boolean ->val : Int8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int8Array[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => boolean, thisArg?: any) => boolean ->options : Int8Array[] ->every : (callbackfn: (value: Int8Array, index: number, array: Int8Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Int8Array, index: number) => boolean ->val : Int8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int8Array[]; } - } - - test3(options: Uint8Array[]) { ->test3 : (options: Uint8Array[]) => void ->options : Uint8Array[] ->Uint8Array : Uint8Array - - const thisObject = { ->thisObject : { options: Uint8Array[]; } ->{ options: [] as Uint8Array[] } : { options: Uint8Array[]; } - - options: [] as Uint8Array[] ->options : Uint8Array[] ->[] as Uint8Array[] : Uint8Array[] ->[] : undefined[] ->Uint8Array : Uint8Array - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : Uint8Array ->options.find : { (predicate: (this: void, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean): Uint8Array; (predicate: (this: void, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean, thisArg: undefined): Uint8Array; (predicate: (this: Z, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean, thisArg: Z): Uint8Array; } ->options : Uint8Array[] ->find : { (predicate: (this: void, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean): Uint8Array; (predicate: (this: void, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean, thisArg: undefined): Uint8Array; (predicate: (this: Z, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean, thisArg: Z): Uint8Array; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Uint8Array[]; }, val: Uint8Array, index: number) => boolean ->val : Uint8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8Array ->this.options[index] : Uint8Array ->this.options : Uint8Array[] ->this : { options: Uint8Array[]; } ->options : Uint8Array[] ->index : number - - }, thisObject); ->thisObject : { options: Uint8Array[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean): number; (predicate: (this: void, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean, thisArg: Z): number; } ->options : Uint8Array[] ->findIndex : { (predicate: (this: void, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean): number; (predicate: (this: void, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Uint8Array, index: number, obj: Uint8Array[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Uint8Array[]; }, val: Uint8Array, index: number) => boolean ->val : Uint8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8Array ->this.options[index] : Uint8Array ->this.options : Uint8Array[] ->this : { options: Uint8Array[]; } ->options : Uint8Array[] ->index : number - - }, thisObject); ->thisObject : { options: Uint8Array[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => void, thisArg?: any) => void ->options : Uint8Array[] ->forEach : (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: Uint8Array, index: number) => boolean ->val : Uint8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8Array[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => U, thisArg?: any) => U[] ->options : Uint8Array[] ->map : (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: Uint8Array, index: number) => any ->val : Uint8Array ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : Uint8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8Array[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => boolean, thisArg?: any) => boolean ->options : Uint8Array[] ->some : (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Uint8Array, index: number) => boolean ->val : Uint8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8Array[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : Uint8Array[] ->options.filter : { (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => any, thisArg?: any): Uint8Array[]; } ->options : Uint8Array[] ->filter : { (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => any, thisArg?: any): Uint8Array[]; } ->function (val, index) { return val === this.options[index]; } : (val: Uint8Array, index: number) => boolean ->val : Uint8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8Array[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => boolean, thisArg?: any) => boolean ->options : Uint8Array[] ->every : (callbackfn: (value: Uint8Array, index: number, array: Uint8Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Uint8Array, index: number) => boolean ->val : Uint8Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8Array[]; } - } - - test4(options: Float32Array[]) { ->test4 : (options: Float32Array[]) => void ->options : Float32Array[] ->Float32Array : Float32Array - - const thisObject = { ->thisObject : { options: Float32Array[]; } ->{ options: [] as Float32Array[] } : { options: Float32Array[]; } - - options: [] as Float32Array[] ->options : Float32Array[] ->[] as Float32Array[] : Float32Array[] ->[] : undefined[] ->Float32Array : Float32Array - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : Float32Array ->options.find : { (predicate: (this: void, value: Float32Array, index: number, obj: Float32Array[]) => boolean): Float32Array; (predicate: (this: void, value: Float32Array, index: number, obj: Float32Array[]) => boolean, thisArg: undefined): Float32Array; (predicate: (this: Z, value: Float32Array, index: number, obj: Float32Array[]) => boolean, thisArg: Z): Float32Array; } ->options : Float32Array[] ->find : { (predicate: (this: void, value: Float32Array, index: number, obj: Float32Array[]) => boolean): Float32Array; (predicate: (this: void, value: Float32Array, index: number, obj: Float32Array[]) => boolean, thisArg: undefined): Float32Array; (predicate: (this: Z, value: Float32Array, index: number, obj: Float32Array[]) => boolean, thisArg: Z): Float32Array; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Float32Array[]; }, val: Float32Array, index: number) => boolean ->val : Float32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float32Array ->this.options[index] : Float32Array ->this.options : Float32Array[] ->this : { options: Float32Array[]; } ->options : Float32Array[] ->index : number - - }, thisObject); ->thisObject : { options: Float32Array[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: Float32Array, index: number, obj: Float32Array[]) => boolean): number; (predicate: (this: void, value: Float32Array, index: number, obj: Float32Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Float32Array, index: number, obj: Float32Array[]) => boolean, thisArg: Z): number; } ->options : Float32Array[] ->findIndex : { (predicate: (this: void, value: Float32Array, index: number, obj: Float32Array[]) => boolean): number; (predicate: (this: void, value: Float32Array, index: number, obj: Float32Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Float32Array, index: number, obj: Float32Array[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Float32Array[]; }, val: Float32Array, index: number) => boolean ->val : Float32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float32Array ->this.options[index] : Float32Array ->this.options : Float32Array[] ->this : { options: Float32Array[]; } ->options : Float32Array[] ->index : number - - }, thisObject); ->thisObject : { options: Float32Array[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => void, thisArg?: any) => void ->options : Float32Array[] ->forEach : (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: Float32Array, index: number) => boolean ->val : Float32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float32Array[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => U, thisArg?: any) => U[] ->options : Float32Array[] ->map : (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: Float32Array, index: number) => any ->val : Float32Array ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : Float32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float32Array[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => boolean, thisArg?: any) => boolean ->options : Float32Array[] ->some : (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Float32Array, index: number) => boolean ->val : Float32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float32Array[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : Float32Array[] ->options.filter : { (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => any, thisArg?: any): Float32Array[]; } ->options : Float32Array[] ->filter : { (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => any, thisArg?: any): Float32Array[]; } ->function (val, index) { return val === this.options[index]; } : (val: Float32Array, index: number) => boolean ->val : Float32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float32Array[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => boolean, thisArg?: any) => boolean ->options : Float32Array[] ->every : (callbackfn: (value: Float32Array, index: number, array: Float32Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Float32Array, index: number) => boolean ->val : Float32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float32Array[]; } - } - - test5(options: Uint8ClampedArray[]) { ->test5 : (options: Uint8ClampedArray[]) => void ->options : Uint8ClampedArray[] ->Uint8ClampedArray : Uint8ClampedArray - - const thisObject = { ->thisObject : { options: Uint8ClampedArray[]; } ->{ options: [] as Uint8ClampedArray[] } : { options: Uint8ClampedArray[]; } - - options: [] as Uint8ClampedArray[] ->options : Uint8ClampedArray[] ->[] as Uint8ClampedArray[] : Uint8ClampedArray[] ->[] : undefined[] ->Uint8ClampedArray : Uint8ClampedArray - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : Uint8ClampedArray ->options.find : { (predicate: (this: void, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean): Uint8ClampedArray; (predicate: (this: void, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean, thisArg: undefined): Uint8ClampedArray; (predicate: (this: Z, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean, thisArg: Z): Uint8ClampedArray; } ->options : Uint8ClampedArray[] ->find : { (predicate: (this: void, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean): Uint8ClampedArray; (predicate: (this: void, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean, thisArg: undefined): Uint8ClampedArray; (predicate: (this: Z, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean, thisArg: Z): Uint8ClampedArray; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Uint8ClampedArray[]; }, val: Uint8ClampedArray, index: number) => boolean ->val : Uint8ClampedArray ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8ClampedArray ->this.options[index] : Uint8ClampedArray ->this.options : Uint8ClampedArray[] ->this : { options: Uint8ClampedArray[]; } ->options : Uint8ClampedArray[] ->index : number - - }, thisObject); ->thisObject : { options: Uint8ClampedArray[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean): number; (predicate: (this: void, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean, thisArg: Z): number; } ->options : Uint8ClampedArray[] ->findIndex : { (predicate: (this: void, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean): number; (predicate: (this: void, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Uint8ClampedArray, index: number, obj: Uint8ClampedArray[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Uint8ClampedArray[]; }, val: Uint8ClampedArray, index: number) => boolean ->val : Uint8ClampedArray ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8ClampedArray ->this.options[index] : Uint8ClampedArray ->this.options : Uint8ClampedArray[] ->this : { options: Uint8ClampedArray[]; } ->options : Uint8ClampedArray[] ->index : number - - }, thisObject); ->thisObject : { options: Uint8ClampedArray[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => void, thisArg?: any) => void ->options : Uint8ClampedArray[] ->forEach : (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: Uint8ClampedArray, index: number) => boolean ->val : Uint8ClampedArray ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8ClampedArray ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8ClampedArray[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => U, thisArg?: any) => U[] ->options : Uint8ClampedArray[] ->map : (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: Uint8ClampedArray, index: number) => any ->val : Uint8ClampedArray ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : Uint8ClampedArray ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8ClampedArray[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => boolean, thisArg?: any) => boolean ->options : Uint8ClampedArray[] ->some : (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Uint8ClampedArray, index: number) => boolean ->val : Uint8ClampedArray ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8ClampedArray ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8ClampedArray[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : Uint8ClampedArray[] ->options.filter : { (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => any, thisArg?: any): Uint8ClampedArray[]; } ->options : Uint8ClampedArray[] ->filter : { (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => any, thisArg?: any): Uint8ClampedArray[]; } ->function (val, index) { return val === this.options[index]; } : (val: Uint8ClampedArray, index: number) => boolean ->val : Uint8ClampedArray ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8ClampedArray ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8ClampedArray[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => boolean, thisArg?: any) => boolean ->options : Uint8ClampedArray[] ->every : (callbackfn: (value: Uint8ClampedArray, index: number, array: Uint8ClampedArray[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Uint8ClampedArray, index: number) => boolean ->val : Uint8ClampedArray ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint8ClampedArray ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint8ClampedArray[]; } - } - - test6(options: Int16Array[]) { ->test6 : (options: Int16Array[]) => void ->options : Int16Array[] ->Int16Array : Int16Array - - const thisObject = { ->thisObject : { options: Int16Array[]; } ->{ options: [] as Int16Array[] } : { options: Int16Array[]; } - - options: [] as Int16Array[] ->options : Int16Array[] ->[] as Int16Array[] : Int16Array[] ->[] : undefined[] ->Int16Array : Int16Array - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : Int16Array ->options.find : { (predicate: (this: void, value: Int16Array, index: number, obj: Int16Array[]) => boolean): Int16Array; (predicate: (this: void, value: Int16Array, index: number, obj: Int16Array[]) => boolean, thisArg: undefined): Int16Array; (predicate: (this: Z, value: Int16Array, index: number, obj: Int16Array[]) => boolean, thisArg: Z): Int16Array; } ->options : Int16Array[] ->find : { (predicate: (this: void, value: Int16Array, index: number, obj: Int16Array[]) => boolean): Int16Array; (predicate: (this: void, value: Int16Array, index: number, obj: Int16Array[]) => boolean, thisArg: undefined): Int16Array; (predicate: (this: Z, value: Int16Array, index: number, obj: Int16Array[]) => boolean, thisArg: Z): Int16Array; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Int16Array[]; }, val: Int16Array, index: number) => boolean ->val : Int16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int16Array ->this.options[index] : Int16Array ->this.options : Int16Array[] ->this : { options: Int16Array[]; } ->options : Int16Array[] ->index : number - - }, thisObject); ->thisObject : { options: Int16Array[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: Int16Array, index: number, obj: Int16Array[]) => boolean): number; (predicate: (this: void, value: Int16Array, index: number, obj: Int16Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Int16Array, index: number, obj: Int16Array[]) => boolean, thisArg: Z): number; } ->options : Int16Array[] ->findIndex : { (predicate: (this: void, value: Int16Array, index: number, obj: Int16Array[]) => boolean): number; (predicate: (this: void, value: Int16Array, index: number, obj: Int16Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Int16Array, index: number, obj: Int16Array[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Int16Array[]; }, val: Int16Array, index: number) => boolean ->val : Int16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int16Array ->this.options[index] : Int16Array ->this.options : Int16Array[] ->this : { options: Int16Array[]; } ->options : Int16Array[] ->index : number - - }, thisObject); ->thisObject : { options: Int16Array[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => void, thisArg?: any) => void ->options : Int16Array[] ->forEach : (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: Int16Array, index: number) => boolean ->val : Int16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int16Array[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => U, thisArg?: any) => U[] ->options : Int16Array[] ->map : (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: Int16Array, index: number) => any ->val : Int16Array ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : Int16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int16Array[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => boolean, thisArg?: any) => boolean ->options : Int16Array[] ->some : (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Int16Array, index: number) => boolean ->val : Int16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int16Array[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : Int16Array[] ->options.filter : { (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => any, thisArg?: any): Int16Array[]; } ->options : Int16Array[] ->filter : { (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => any, thisArg?: any): Int16Array[]; } ->function (val, index) { return val === this.options[index]; } : (val: Int16Array, index: number) => boolean ->val : Int16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int16Array[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => boolean, thisArg?: any) => boolean ->options : Int16Array[] ->every : (callbackfn: (value: Int16Array, index: number, array: Int16Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Int16Array, index: number) => boolean ->val : Int16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Int16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Int16Array[]; } - } - - test7(options: Uint16Array[]) { ->test7 : (options: Uint16Array[]) => void ->options : Uint16Array[] ->Uint16Array : Uint16Array - - const thisObject = { ->thisObject : { options: Uint16Array[]; } ->{ options: [] as Uint16Array[] } : { options: Uint16Array[]; } - - options: [] as Uint16Array[] ->options : Uint16Array[] ->[] as Uint16Array[] : Uint16Array[] ->[] : undefined[] ->Uint16Array : Uint16Array - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : Uint16Array ->options.find : { (predicate: (this: void, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean): Uint16Array; (predicate: (this: void, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean, thisArg: undefined): Uint16Array; (predicate: (this: Z, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean, thisArg: Z): Uint16Array; } ->options : Uint16Array[] ->find : { (predicate: (this: void, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean): Uint16Array; (predicate: (this: void, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean, thisArg: undefined): Uint16Array; (predicate: (this: Z, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean, thisArg: Z): Uint16Array; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Uint16Array[]; }, val: Uint16Array, index: number) => boolean ->val : Uint16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint16Array ->this.options[index] : Uint16Array ->this.options : Uint16Array[] ->this : { options: Uint16Array[]; } ->options : Uint16Array[] ->index : number - - }, thisObject); ->thisObject : { options: Uint16Array[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean): number; (predicate: (this: void, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean, thisArg: Z): number; } ->options : Uint16Array[] ->findIndex : { (predicate: (this: void, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean): number; (predicate: (this: void, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Uint16Array, index: number, obj: Uint16Array[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Uint16Array[]; }, val: Uint16Array, index: number) => boolean ->val : Uint16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint16Array ->this.options[index] : Uint16Array ->this.options : Uint16Array[] ->this : { options: Uint16Array[]; } ->options : Uint16Array[] ->index : number - - }, thisObject); ->thisObject : { options: Uint16Array[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => void, thisArg?: any) => void ->options : Uint16Array[] ->forEach : (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: Uint16Array, index: number) => boolean ->val : Uint16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint16Array[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => U, thisArg?: any) => U[] ->options : Uint16Array[] ->map : (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: Uint16Array, index: number) => any ->val : Uint16Array ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : Uint16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint16Array[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => boolean, thisArg?: any) => boolean ->options : Uint16Array[] ->some : (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Uint16Array, index: number) => boolean ->val : Uint16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint16Array[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : Uint16Array[] ->options.filter : { (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => any, thisArg?: any): Uint16Array[]; } ->options : Uint16Array[] ->filter : { (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => any, thisArg?: any): Uint16Array[]; } ->function (val, index) { return val === this.options[index]; } : (val: Uint16Array, index: number) => boolean ->val : Uint16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint16Array[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => boolean, thisArg?: any) => boolean ->options : Uint16Array[] ->every : (callbackfn: (value: Uint16Array, index: number, array: Uint16Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Uint16Array, index: number) => boolean ->val : Uint16Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint16Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint16Array[]; } - } - - test8(options: Uint32Array[]) { ->test8 : (options: Uint32Array[]) => void ->options : Uint32Array[] ->Uint32Array : Uint32Array - - const thisObject = { ->thisObject : { options: Uint32Array[]; } ->{ options: [] as Uint32Array[] } : { options: Uint32Array[]; } - - options: [] as Uint32Array[] ->options : Uint32Array[] ->[] as Uint32Array[] : Uint32Array[] ->[] : undefined[] ->Uint32Array : Uint32Array - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : Uint32Array ->options.find : { (predicate: (this: void, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean): Uint32Array; (predicate: (this: void, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean, thisArg: undefined): Uint32Array; (predicate: (this: Z, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean, thisArg: Z): Uint32Array; } ->options : Uint32Array[] ->find : { (predicate: (this: void, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean): Uint32Array; (predicate: (this: void, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean, thisArg: undefined): Uint32Array; (predicate: (this: Z, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean, thisArg: Z): Uint32Array; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Uint32Array[]; }, val: Uint32Array, index: number) => boolean ->val : Uint32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint32Array ->this.options[index] : Uint32Array ->this.options : Uint32Array[] ->this : { options: Uint32Array[]; } ->options : Uint32Array[] ->index : number - - }, thisObject); ->thisObject : { options: Uint32Array[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean): number; (predicate: (this: void, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean, thisArg: Z): number; } ->options : Uint32Array[] ->findIndex : { (predicate: (this: void, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean): number; (predicate: (this: void, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Uint32Array, index: number, obj: Uint32Array[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Uint32Array[]; }, val: Uint32Array, index: number) => boolean ->val : Uint32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint32Array ->this.options[index] : Uint32Array ->this.options : Uint32Array[] ->this : { options: Uint32Array[]; } ->options : Uint32Array[] ->index : number - - }, thisObject); ->thisObject : { options: Uint32Array[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => void, thisArg?: any) => void ->options : Uint32Array[] ->forEach : (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: Uint32Array, index: number) => boolean ->val : Uint32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint32Array[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => U, thisArg?: any) => U[] ->options : Uint32Array[] ->map : (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: Uint32Array, index: number) => any ->val : Uint32Array ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : Uint32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint32Array[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => boolean, thisArg?: any) => boolean ->options : Uint32Array[] ->some : (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Uint32Array, index: number) => boolean ->val : Uint32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint32Array[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : Uint32Array[] ->options.filter : { (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => any, thisArg?: any): Uint32Array[]; } ->options : Uint32Array[] ->filter : { (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => any, thisArg?: any): Uint32Array[]; } ->function (val, index) { return val === this.options[index]; } : (val: Uint32Array, index: number) => boolean ->val : Uint32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint32Array[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => boolean, thisArg?: any) => boolean ->options : Uint32Array[] ->every : (callbackfn: (value: Uint32Array, index: number, array: Uint32Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Uint32Array, index: number) => boolean ->val : Uint32Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Uint32Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Uint32Array[]; } - } - - test9(options: Float64Array[]) { ->test9 : (options: Float64Array[]) => void ->options : Float64Array[] ->Float64Array : Float64Array - - const thisObject = { ->thisObject : { options: Float64Array[]; } ->{ options: [] as Float64Array[] } : { options: Float64Array[]; } - - options: [] as Float64Array[] ->options : Float64Array[] ->[] as Float64Array[] : Float64Array[] ->[] : undefined[] ->Float64Array : Float64Array - - }; - - options.find(function (val, index) { ->options.find(function (val, index) { return val === this.options[index]; }, thisObject) : Float64Array ->options.find : { (predicate: (this: void, value: Float64Array, index: number, obj: Float64Array[]) => boolean): Float64Array; (predicate: (this: void, value: Float64Array, index: number, obj: Float64Array[]) => boolean, thisArg: undefined): Float64Array; (predicate: (this: Z, value: Float64Array, index: number, obj: Float64Array[]) => boolean, thisArg: Z): Float64Array; } ->options : Float64Array[] ->find : { (predicate: (this: void, value: Float64Array, index: number, obj: Float64Array[]) => boolean): Float64Array; (predicate: (this: void, value: Float64Array, index: number, obj: Float64Array[]) => boolean, thisArg: undefined): Float64Array; (predicate: (this: Z, value: Float64Array, index: number, obj: Float64Array[]) => boolean, thisArg: Z): Float64Array; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Float64Array[]; }, val: Float64Array, index: number) => boolean ->val : Float64Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float64Array ->this.options[index] : Float64Array ->this.options : Float64Array[] ->this : { options: Float64Array[]; } ->options : Float64Array[] ->index : number - - }, thisObject); ->thisObject : { options: Float64Array[]; } - - options.findIndex(function (val, index) { ->options.findIndex(function (val, index) { return val === this.options[index]; }, thisObject) : number ->options.findIndex : { (predicate: (this: void, value: Float64Array, index: number, obj: Float64Array[]) => boolean): number; (predicate: (this: void, value: Float64Array, index: number, obj: Float64Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Float64Array, index: number, obj: Float64Array[]) => boolean, thisArg: Z): number; } ->options : Float64Array[] ->findIndex : { (predicate: (this: void, value: Float64Array, index: number, obj: Float64Array[]) => boolean): number; (predicate: (this: void, value: Float64Array, index: number, obj: Float64Array[]) => boolean, thisArg: undefined): number; (predicate: (this: Z, value: Float64Array, index: number, obj: Float64Array[]) => boolean, thisArg: Z): number; } ->function (val, index) { return val === this.options[index]; } : (this: { options: Float64Array[]; }, val: Float64Array, index: number) => boolean ->val : Float64Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float64Array ->this.options[index] : Float64Array ->this.options : Float64Array[] ->this : { options: Float64Array[]; } ->options : Float64Array[] ->index : number - - }, thisObject); ->thisObject : { options: Float64Array[]; } - - options.forEach(function (val, index) { ->options.forEach(function (val, index) { return val === this.options[index]; }, thisObject) : void ->options.forEach : (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => void, thisArg?: any) => void ->options : Float64Array[] ->forEach : (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => void, thisArg?: any) => void ->function (val, index) { return val === this.options[index]; } : (val: Float64Array, index: number) => boolean ->val : Float64Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float64Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float64Array[]; } - - options.map(function (val, index) { ->options.map(function (val, index) { if (val === this.options[index]) return this.options[index]; }, thisObject) : any[] ->options.map : (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => U, thisArg?: any) => U[] ->options : Float64Array[] ->map : (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => U, thisArg?: any) => U[] ->function (val, index) { if (val === this.options[index]) return this.options[index]; } : (val: Float64Array, index: number) => any ->val : Float64Array ->index : number - - if (val === this.options[index]) ->val === this.options[index] : boolean ->val : Float64Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - return this.options[index]; ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float64Array[]; } - - options.some(function (val, index) { ->options.some(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.some : (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => boolean, thisArg?: any) => boolean ->options : Float64Array[] ->some : (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Float64Array, index: number) => boolean ->val : Float64Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float64Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float64Array[]; } - - options.filter(function (val, index) { ->options.filter(function (val, index) { return val === this.options[index]; }, thisObject) : Float64Array[] ->options.filter : { (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => any, thisArg?: any): Float64Array[]; } ->options : Float64Array[] ->filter : { (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => value is S, thisArg?: any): S[]; (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => any, thisArg?: any): Float64Array[]; } ->function (val, index) { return val === this.options[index]; } : (val: Float64Array, index: number) => boolean ->val : Float64Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float64Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float64Array[]; } - - options.every(function (val, index) { ->options.every(function (val, index) { return val === this.options[index]; }, thisObject) : boolean ->options.every : (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => boolean, thisArg?: any) => boolean ->options : Float64Array[] ->every : (callbackfn: (value: Float64Array, index: number, array: Float64Array[]) => boolean, thisArg?: any) => boolean ->function (val, index) { return val === this.options[index]; } : (val: Float64Array, index: number) => boolean ->val : Float64Array ->index : number - - return val === this.options[index]; ->val === this.options[index] : boolean ->val : Float64Array ->this.options[index] : any ->this.options : any ->this : any ->options : any ->index : number - - }, thisObject); ->thisObject : { options: Float64Array[]; } - } -} - diff --git a/tests/cases/compiler/thisTypeInNativeThisAssignableMethods.ts b/tests/cases/compiler/thisTypeInNativeThisAssignableMethods.ts deleted file mode 100644 index 17ff41c70a70f..0000000000000 --- a/tests/cases/compiler/thisTypeInNativeThisAssignableMethods.ts +++ /dev/null @@ -1,398 +0,0 @@ -// @target: ES2017 - -class A { - options: string[]; - - addOptions(options: string[]) { - if (!this.options) { - this.options = []; - } - options.forEach(function (item) { - this.options.push(item); - }, this); - return this; - } - - testUndefined(options: string[]) { - const undefinedArr: Array = [] - options.forEach(function () { - undefinedArr.push(this); - }); // case1 - options.forEach(function () { - undefinedArr.push(this); - }, undefined); // case2 - options.forEach(function () { - undefinedArr.push(this); - }, null); // case3 - - const arrLike = {} as ArrayLike - Array.from(arrLike, function (item) { - return this === undefined ? 2 : 1; - }, undefined) - - const iterLike = [] as Iterable - Array.from(iterLike, function (item) { - return this === undefined ? 2 : 1; - }, undefined) - } - - test(options: string[]) { - const thisObject = { - options: [] as string[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - - const arrLike = {} as ArrayLike - Array.from(arrLike, function (item) { - return this.options[item].length - }, thisObject) - - const iterLike = [] as Iterable - Array.from(iterLike, function (item) { - return this.options[item].length - }, thisObject) - } - - test1(options: string[]) { - const thisObject = { - options: [] as ReadonlyArray - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test2(options: Int8Array[]) { - const thisObject = { - options: [] as Int8Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test3(options: Uint8Array[]) { - const thisObject = { - options: [] as Uint8Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test4(options: Float32Array[]) { - const thisObject = { - options: [] as Float32Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test5(options: Uint8ClampedArray[]) { - const thisObject = { - options: [] as Uint8ClampedArray[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test6(options: Int16Array[]) { - const thisObject = { - options: [] as Int16Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test7(options: Uint16Array[]) { - const thisObject = { - options: [] as Uint16Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test8(options: Uint32Array[]) { - const thisObject = { - options: [] as Uint32Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } - - test9(options: Float64Array[]) { - const thisObject = { - options: [] as Float64Array[] - }; - - options.find(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.findIndex(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.forEach(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.map(function (val, index) { - if (val === this.options[index]) - return this.options[index]; - }, thisObject); - - options.some(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.filter(function (val, index) { - return val === this.options[index]; - }, thisObject); - - options.every(function (val, index) { - return val === this.options[index]; - }, thisObject); - } -} From db11b5c0a95be910142b8f49f84987a1e4a42b1c Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 29 Aug 2017 10:38:59 -0700 Subject: [PATCH 3/5] Accept baselines --- ...ibrary_NoErrorDuplicateLibOptions1.symbols | 4 +- ...eLibrary_NoErrorDuplicateLibOptions1.types | 4 +- ...ibrary_NoErrorDuplicateLibOptions2.symbols | 4 +- ...eLibrary_NoErrorDuplicateLibOptions2.types | 4 +- ...larizeLibrary_TargetES5UsingES6Lib.symbols | 4 +- ...dularizeLibrary_TargetES5UsingES6Lib.types | 4 +- ...larizeLibrary_TargetES6UsingES6Lib.symbols | 4 +- ...dularizeLibrary_TargetES6UsingES6Lib.types | 4 +- ...eLibrary_UsingES5LibAndES6ArrayLib.symbols | 4 +- ...izeLibrary_UsingES5LibAndES6ArrayLib.types | 4 +- ...ibES6ArrayLibES6WellknownSymbolLib.symbols | 4 +- ...5LibES6ArrayLibES6WellknownSymbolLib.types | 4 +- tests/baselines/reference/typedArrays.symbols | 144 +++++++++--------- tests/baselines/reference/typedArrays.types | 144 +++++++++--------- 14 files changed, 168 insertions(+), 168 deletions(-) diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.symbols b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.symbols index 52efbf5805db2..6842ec9ae2522 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.symbols +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.symbols @@ -7,9 +7,9 @@ function f(x: number, y: number, z: number) { >z : Symbol(z, Decl(modularizeLibrary_NoErrorDuplicateLibOptions1.ts, 1, 32)) return Array.from(arguments); ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >Array : Symbol(Array, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >arguments : Symbol(arguments) } diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types index a77fcd223f4dd..f766254900a09 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } >Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.symbols b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.symbols index 4bdffff4f413d..d9af41e602775 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.symbols +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.symbols @@ -7,9 +7,9 @@ function f(x: number, y: number, z: number) { >z : Symbol(z, Decl(modularizeLibrary_NoErrorDuplicateLibOptions2.ts, 1, 32)) return Array.from(arguments); ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >Array : Symbol(Array, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >arguments : Symbol(arguments) } diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types index 6d5770659dec4..83795658b5d9c 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } >Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.symbols b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.symbols index fd9714416ffe5..2ae943ab81d30 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.symbols +++ b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.symbols @@ -7,9 +7,9 @@ function f(x: number, y: number, z: number) { >z : Symbol(z, Decl(modularizeLibrary_TargetES5UsingES6Lib.ts, 1, 32)) return Array.from(arguments); ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >Array : Symbol(Array, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >arguments : Symbol(arguments) } diff --git a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types index 9ca65cb9583c4..7ba771ec3f07f 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types +++ b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } >Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.symbols b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.symbols index 42aa9ad1d875b..182daeefd1abb 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.symbols +++ b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.symbols @@ -7,9 +7,9 @@ function f(x: number, y: number, z: number) { >z : Symbol(z, Decl(modularizeLibrary_TargetES6UsingES6Lib.ts, 1, 32)) return Array.from(arguments); ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>from : Symbol(ArrayConstructor.from, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >arguments : Symbol(arguments) } diff --git a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types index 1120b471f36f0..466d6ed6b9f93 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types +++ b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } >Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U): U[]; (iterable: Iterable, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (iterable: Iterable, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (iterable: Iterable): T[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.symbols b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.symbols index bac3a49930d09..a9f94d2e1ca00 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.symbols +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.symbols @@ -7,9 +7,9 @@ function f(x: number, y: number, z: number) { >z : Symbol(z, Decl(modularizeLibrary_UsingES5LibAndES6ArrayLib.ts, 1, 32)) return Array.from(arguments); ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.core.d.ts, --, --)) >Array : Symbol(Array, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>from : Symbol(ArrayConstructor.from, Decl(lib.es2015.core.d.ts, --, --)) >arguments : Symbol(arguments) } diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.types b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.types index 3c3905c501ffc..795ee6e5374b0 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.types +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>Array.from : (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any) => U[] >Array : ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>from : (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any) => U[] >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.symbols b/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.symbols index d63c8e72e68ae..7870c6362d341 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.symbols +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.symbols @@ -6,9 +6,9 @@ function f(x: number, y: number, z: number) { >z : Symbol(z, Decl(modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.ts, 0, 32)) return Array.from(arguments); ->Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>Array.from : Symbol(ArrayConstructor.from, Decl(lib.es2015.core.d.ts, --, --)) >Array : Symbol(Array, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->from : Symbol(ArrayConstructor.from, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) +>from : Symbol(ArrayConstructor.from, Decl(lib.es2015.core.d.ts, --, --)) >arguments : Symbol(arguments) } diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types b/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types index 3d4ba12fa63e4..542329d7f4452 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types @@ -7,9 +7,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>Array.from : (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any) => U[] >Array : ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U): U[]; (arrayLike: ArrayLike, mapfn: (this: void, v: T, k: number) => U, thisArg: undefined): U[]; (arrayLike: ArrayLike, mapfn: (this: Z, v: T, k: number) => U, thisArg: Z): U[]; (arrayLike: ArrayLike): T[]; } +>from : (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any) => U[] >arguments : IArguments } diff --git a/tests/baselines/reference/typedArrays.symbols b/tests/baselines/reference/typedArrays.symbols index f3f0aca48c390..1080fa39e8959 100644 --- a/tests/baselines/reference/typedArrays.symbols +++ b/tests/baselines/reference/typedArrays.symbols @@ -166,65 +166,65 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { typedArrays[0] = Int8Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 46, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 45, 44)) return typedArrays; @@ -241,65 +241,65 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { typedArrays[0] = Int8Array.from(obj); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 61, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 60, 47)) return typedArrays; @@ -457,73 +457,73 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) 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.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 105, 36)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 105, 58)) @@ -545,81 +545,81 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v typedArrays[0] = Int8Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Int8Array.from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int8Array.from : Symbol(Int8ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) typedArrays[1] = Uint8Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Uint8Array.from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8Array.from : Symbol(Uint8ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) typedArrays[2] = Int16Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Int16Array.from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int16Array.from : Symbol(Int16ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) typedArrays[3] = Uint16Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Uint16Array.from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint16Array.from : Symbol(Uint16ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint16ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) typedArrays[4] = Int32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Int32Array.from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Int32Array.from : Symbol(Int32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Int32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) typedArrays[5] = Uint32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Uint32Array.from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint32Array.from : Symbol(Uint32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) typedArrays[6] = Float32Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Float32Array.from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float32Array.from : Symbol(Float32ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float32ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) typedArrays[7] = Float64Array.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Float64Array.from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Float64Array.from : Symbol(Float64ArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Float64ArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) typedArrays[8] = Uint8ClampedArray.from(obj, mapFn, thisArg); >typedArrays : Symbol(typedArrays, Decl(typedArrays.ts, 121, 7)) ->Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>Uint8ClampedArray.from : Symbol(Uint8ClampedArrayConstructor.from, 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.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) ->from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) +>from : Symbol(Uint8ClampedArrayConstructor.from, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --)) >obj : Symbol(obj, Decl(typedArrays.ts, 120, 38)) >mapFn : Symbol(mapFn, Decl(typedArrays.ts, 120, 60)) >thisArg : Symbol(thisArg, Decl(typedArrays.ts, 120, 98)) diff --git a/tests/baselines/reference/typedArrays.types b/tests/baselines/reference/typedArrays.types index 99c7e433ea5d9..d283cfc353d0a 100644 --- a/tests/baselines/reference/typedArrays.types +++ b/tests/baselines/reference/typedArrays.types @@ -273,9 +273,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >0 : 0 >Int8Array.from(obj) : Int8Array ->Int8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; (arrayLike: Iterable): Int8Array; } +>Int8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } >Int8Array : Int8ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; (arrayLike: Iterable): Int8Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } >obj : number[] typedArrays[1] = Uint8Array.from(obj); @@ -284,9 +284,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >1 : 1 >Uint8Array.from(obj) : Uint8Array ->Uint8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; (arrayLike: Iterable): Uint8Array; } +>Uint8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } >Uint8Array : Uint8ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; (arrayLike: Iterable): Uint8Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } >obj : number[] typedArrays[2] = Int16Array.from(obj); @@ -295,9 +295,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >2 : 2 >Int16Array.from(obj) : Int16Array ->Int16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; (arrayLike: Iterable): Int16Array; } +>Int16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } >Int16Array : Int16ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; (arrayLike: Iterable): Int16Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } >obj : number[] typedArrays[3] = Uint16Array.from(obj); @@ -306,9 +306,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >3 : 3 >Uint16Array.from(obj) : Uint16Array ->Uint16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; (arrayLike: Iterable): Uint16Array; } +>Uint16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } >Uint16Array : Uint16ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; (arrayLike: Iterable): Uint16Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } >obj : number[] typedArrays[4] = Int32Array.from(obj); @@ -317,9 +317,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >4 : 4 >Int32Array.from(obj) : Int32Array ->Int32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; (arrayLike: Iterable): Int32Array; } +>Int32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } >Int32Array : Int32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; (arrayLike: Iterable): Int32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } >obj : number[] typedArrays[5] = Uint32Array.from(obj); @@ -328,9 +328,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >5 : 5 >Uint32Array.from(obj) : Uint32Array ->Uint32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; (arrayLike: Iterable): Uint32Array; } +>Uint32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } >Uint32Array : Uint32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; (arrayLike: Iterable): Uint32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } >obj : number[] typedArrays[6] = Float32Array.from(obj); @@ -339,9 +339,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >6 : 6 >Float32Array.from(obj) : Float32Array ->Float32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; (arrayLike: Iterable): Float32Array; } +>Float32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } >Float32Array : Float32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; (arrayLike: Iterable): Float32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } >obj : number[] typedArrays[7] = Float64Array.from(obj); @@ -350,9 +350,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >7 : 7 >Float64Array.from(obj) : Float64Array ->Float64Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; (arrayLike: Iterable): Float64Array; } +>Float64Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } >Float64Array : Float64ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; (arrayLike: Iterable): Float64Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } >obj : number[] typedArrays[8] = Uint8ClampedArray.from(obj); @@ -361,9 +361,9 @@ function CreateIntegerTypedArraysFromArray2(obj:number[]) { >typedArrays : any[] >8 : 8 >Uint8ClampedArray.from(obj) : Uint8ClampedArray ->Uint8ClampedArray.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; } +>Uint8ClampedArray.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } >Uint8ClampedArray : Uint8ClampedArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } >obj : number[] return typedArrays; @@ -385,9 +385,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >0 : 0 >Int8Array.from(obj) : Int8Array ->Int8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; (arrayLike: Iterable): Int8Array; } +>Int8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } >Int8Array : Int8ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; (arrayLike: Iterable): Int8Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } >obj : ArrayLike typedArrays[1] = Uint8Array.from(obj); @@ -396,9 +396,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >1 : 1 >Uint8Array.from(obj) : Uint8Array ->Uint8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; (arrayLike: Iterable): Uint8Array; } +>Uint8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } >Uint8Array : Uint8ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; (arrayLike: Iterable): Uint8Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } >obj : ArrayLike typedArrays[2] = Int16Array.from(obj); @@ -407,9 +407,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >2 : 2 >Int16Array.from(obj) : Int16Array ->Int16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; (arrayLike: Iterable): Int16Array; } +>Int16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } >Int16Array : Int16ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; (arrayLike: Iterable): Int16Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } >obj : ArrayLike typedArrays[3] = Uint16Array.from(obj); @@ -418,9 +418,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >3 : 3 >Uint16Array.from(obj) : Uint16Array ->Uint16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; (arrayLike: Iterable): Uint16Array; } +>Uint16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } >Uint16Array : Uint16ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; (arrayLike: Iterable): Uint16Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } >obj : ArrayLike typedArrays[4] = Int32Array.from(obj); @@ -429,9 +429,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >4 : 4 >Int32Array.from(obj) : Int32Array ->Int32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; (arrayLike: Iterable): Int32Array; } +>Int32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } >Int32Array : Int32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; (arrayLike: Iterable): Int32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } >obj : ArrayLike typedArrays[5] = Uint32Array.from(obj); @@ -440,9 +440,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >5 : 5 >Uint32Array.from(obj) : Uint32Array ->Uint32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; (arrayLike: Iterable): Uint32Array; } +>Uint32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } >Uint32Array : Uint32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; (arrayLike: Iterable): Uint32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } >obj : ArrayLike typedArrays[6] = Float32Array.from(obj); @@ -451,9 +451,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >6 : 6 >Float32Array.from(obj) : Float32Array ->Float32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; (arrayLike: Iterable): Float32Array; } +>Float32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } >Float32Array : Float32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; (arrayLike: Iterable): Float32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } >obj : ArrayLike typedArrays[7] = Float64Array.from(obj); @@ -462,9 +462,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >7 : 7 >Float64Array.from(obj) : Float64Array ->Float64Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; (arrayLike: Iterable): Float64Array; } +>Float64Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } >Float64Array : Float64ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; (arrayLike: Iterable): Float64Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } >obj : ArrayLike typedArrays[8] = Uint8ClampedArray.from(obj); @@ -473,9 +473,9 @@ function CreateIntegerTypedArraysFromArrayLike(obj:ArrayLike) { >typedArrays : any[] >8 : 8 >Uint8ClampedArray.from(obj) : Uint8ClampedArray ->Uint8ClampedArray.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; } +>Uint8ClampedArray.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } >Uint8ClampedArray : Uint8ClampedArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } >obj : ArrayLike return typedArrays; @@ -757,9 +757,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >0 : 0 >Int8Array.from(obj, mapFn) : Int8Array ->Int8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; (arrayLike: Iterable): Int8Array; } +>Int8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } >Int8Array : Int8ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; (arrayLike: Iterable): Int8Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -769,9 +769,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >1 : 1 >Uint8Array.from(obj, mapFn) : Uint8Array ->Uint8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; (arrayLike: Iterable): Uint8Array; } +>Uint8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } >Uint8Array : Uint8ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; (arrayLike: Iterable): Uint8Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -781,9 +781,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >2 : 2 >Int16Array.from(obj, mapFn) : Int16Array ->Int16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; (arrayLike: Iterable): Int16Array; } +>Int16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } >Int16Array : Int16ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; (arrayLike: Iterable): Int16Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -793,9 +793,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >3 : 3 >Uint16Array.from(obj, mapFn) : Uint16Array ->Uint16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; (arrayLike: Iterable): Uint16Array; } +>Uint16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } >Uint16Array : Uint16ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; (arrayLike: Iterable): Uint16Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -805,9 +805,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >4 : 4 >Int32Array.from(obj, mapFn) : Int32Array ->Int32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; (arrayLike: Iterable): Int32Array; } +>Int32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } >Int32Array : Int32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; (arrayLike: Iterable): Int32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -817,9 +817,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >5 : 5 >Uint32Array.from(obj, mapFn) : Uint32Array ->Uint32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; (arrayLike: Iterable): Uint32Array; } +>Uint32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } >Uint32Array : Uint32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; (arrayLike: Iterable): Uint32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -829,9 +829,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >6 : 6 >Float32Array.from(obj, mapFn) : Float32Array ->Float32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; (arrayLike: Iterable): Float32Array; } +>Float32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } >Float32Array : Float32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; (arrayLike: Iterable): Float32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -841,9 +841,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >7 : 7 >Float64Array.from(obj, mapFn) : Float64Array ->Float64Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; (arrayLike: Iterable): Float64Array; } +>Float64Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } >Float64Array : Float64ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; (arrayLike: Iterable): Float64Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -853,9 +853,9 @@ function CreateTypedArraysFromMapFn(obj:ArrayLike, mapFn: (n:number, v:n >typedArrays : any[] >8 : 8 >Uint8ClampedArray.from(obj, mapFn) : Uint8ClampedArray ->Uint8ClampedArray.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; } +>Uint8ClampedArray.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } >Uint8ClampedArray : Uint8ClampedArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } >obj : ArrayLike >mapFn : (n: number, v: number) => number @@ -882,9 +882,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >0 : 0 >Int8Array.from(obj, mapFn, thisArg) : Int8Array ->Int8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; (arrayLike: Iterable): Int8Array; } +>Int8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } >Int8Array : Int8ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int8Array; (arrayLike: Iterable): Int8Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} @@ -895,9 +895,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >1 : 1 >Uint8Array.from(obj, mapFn, thisArg) : Uint8Array ->Uint8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; (arrayLike: Iterable): Uint8Array; } +>Uint8Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } >Uint8Array : Uint8ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8Array; (arrayLike: Iterable): Uint8Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} @@ -908,9 +908,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >2 : 2 >Int16Array.from(obj, mapFn, thisArg) : Int16Array ->Int16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; (arrayLike: Iterable): Int16Array; } +>Int16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } >Int16Array : Int16ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int16Array; (arrayLike: Iterable): Int16Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} @@ -921,9 +921,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >3 : 3 >Uint16Array.from(obj, mapFn, thisArg) : Uint16Array ->Uint16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; (arrayLike: Iterable): Uint16Array; } +>Uint16Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } >Uint16Array : Uint16ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint16Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint16Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint16Array; (arrayLike: Iterable): Uint16Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} @@ -934,9 +934,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >4 : 4 >Int32Array.from(obj, mapFn, thisArg) : Int32Array ->Int32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; (arrayLike: Iterable): Int32Array; } +>Int32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } >Int32Array : Int32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Int32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Int32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Int32Array; (arrayLike: Iterable): Int32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} @@ -947,9 +947,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >5 : 5 >Uint32Array.from(obj, mapFn, thisArg) : Uint32Array ->Uint32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; (arrayLike: Iterable): Uint32Array; } +>Uint32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } >Uint32Array : Uint32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint32Array; (arrayLike: Iterable): Uint32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} @@ -960,9 +960,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >6 : 6 >Float32Array.from(obj, mapFn, thisArg) : Float32Array ->Float32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; (arrayLike: Iterable): Float32Array; } +>Float32Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } >Float32Array : Float32ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float32Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float32Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float32Array; (arrayLike: Iterable): Float32Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} @@ -973,9 +973,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >7 : 7 >Float64Array.from(obj, mapFn, thisArg) : Float64Array ->Float64Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; (arrayLike: Iterable): Float64Array; } +>Float64Array.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } >Float64Array : Float64ArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Float64Array; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Float64Array; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Float64Array; (arrayLike: Iterable): Float64Array; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} @@ -986,9 +986,9 @@ function CreateTypedArraysFromThisObj(obj:ArrayLike, mapFn: (n:number, v >typedArrays : any[] >8 : 8 >Uint8ClampedArray.from(obj, mapFn, thisArg) : Uint8ClampedArray ->Uint8ClampedArray.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; } +>Uint8ClampedArray.from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } >Uint8ClampedArray : Uint8ClampedArrayConstructor ->from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: void, v: number, k: number) => number, thisArg: undefined): Uint8ClampedArray; (arrayLike: Iterable, mapfn: (this: Z, v: number, k: number) => number, thisArg: Z): Uint8ClampedArray; (arrayLike: Iterable): Uint8ClampedArray; } +>from : { (arrayLike: ArrayLike, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; (arrayLike: Iterable, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; } >obj : ArrayLike >mapFn : (n: number, v: number) => number >thisArg : {} From ace6fd2bc44381523def835f39aa68cfe0d4e9e0 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 30 Aug 2017 09:55:51 -0700 Subject: [PATCH 4/5] Remove invalid `this: void` in callbacks --- src/lib/es2015.core.d.ts | 6 +++--- src/lib/es5.d.ts | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/es2015.core.d.ts b/src/lib/es2015.core.d.ts index d1b12a9382707..0deef59a47d9b 100644 --- a/src/lib/es2015.core.d.ts +++ b/src/lib/es2015.core.d.ts @@ -10,7 +10,7 @@ interface Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - find(predicate: (this: void, value: T, index: number, obj: Array) => boolean, thisArg?: any): T | undefined; + find(predicate: (value: T, index: number, obj: Array) => boolean, thisArg?: any): T | undefined; /** * Returns the index of the first element in the array where predicate is true, and -1 @@ -21,7 +21,7 @@ interface Array { * @param thisArg If provided, it will be used as the this value for each invocation of * predicate. If it is not provided, undefined is used instead. */ - findIndex(predicate: (this: void, value: T, index: number, obj: Array) => boolean, thisArg?: any): number; + findIndex(predicate: (value: T, index: number, obj: Array) => boolean, thisArg?: any): number; /** * Returns the this object after filling the section identified by start and end with value @@ -52,7 +52,7 @@ interface ArrayConstructor { * @param mapfn A mapping function to call on every element of the array. * @param thisArg Value of 'this' used to invoke the mapfn. */ - from(arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): Array; + from(arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): Array; /** * Returns a new array from a set of elements. diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 32fb2f55b4def..4dae997ffb440 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1635,7 +1635,7 @@ interface Int8Array { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - map(callbackfn: (this: void, value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array; + map(callbackfn: (value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -1902,7 +1902,7 @@ interface Uint8Array { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - map(callbackfn: (this: void, value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array; + map(callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2169,7 +2169,7 @@ interface Uint8ClampedArray { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - map(callbackfn: (this: void, value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray; + map(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2366,7 +2366,7 @@ interface Int16Array { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - filter(callbackfn: (this: void, value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array; + filter(callbackfn: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array; /** * Returns the value of the first element in the array where predicate is true, and undefined @@ -2434,7 +2434,7 @@ interface Int16Array { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - map(callbackfn: (this: void, value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array; + map(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -2702,7 +2702,7 @@ interface Uint16Array { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - map(callbackfn: (this: void, value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array; + map(callbackfn: (value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3235,7 +3235,7 @@ interface Uint32Array { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - map(callbackfn: (this: void, value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array; + map(callbackfn: (value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3502,7 +3502,7 @@ interface Float32Array { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - map(callbackfn: (this: void, value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array; + map(callbackfn: (value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array; /** * Calls the specified callback function for all the elements in an array. The return value of @@ -3770,7 +3770,7 @@ interface Float64Array { * @param thisArg An object to which the this keyword can refer in the callbackfn function. * If thisArg is omitted, undefined is used as the this value. */ - map(callbackfn: (this: void, value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array; + map(callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array; /** * Calls the specified callback function for all the elements in an array. The return value of From ef98d48868cd99bc216f89b0259d9e9a10dd5a0e Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 30 Aug 2017 09:55:59 -0700 Subject: [PATCH 5/5] accept baselines --- .../modularizeLibrary_NoErrorDuplicateLibOptions1.types | 4 ++-- .../modularizeLibrary_NoErrorDuplicateLibOptions2.types | 4 ++-- .../reference/modularizeLibrary_TargetES5UsingES6Lib.types | 4 ++-- .../reference/modularizeLibrary_TargetES6UsingES6Lib.types | 4 ++-- .../modularizeLibrary_UsingES5LibAndES6ArrayLib.types | 4 ++-- ...eLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types index f766254900a09..4743391fcf194 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } +>Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; } >Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } +>from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; } >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types index 83795658b5d9c..a700c1c03f6c5 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } +>Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; } >Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } +>from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; } >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types index 7ba771ec3f07f..d51e87c8b9d97 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types +++ b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } +>Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; } >Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } +>from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; } >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types index 466d6ed6b9f93..8296220b36e4b 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types +++ b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } +>Array.from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; } >Array : ArrayConstructor ->from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any): U[]; } +>from : { (iterable: Iterable, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any): U[]; } >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.types b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.types index 795ee6e5374b0..7a3d1a8c7c3e0 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.types +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.types @@ -8,9 +8,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any) => U[] +>Array.from : (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any) => U[] >Array : ArrayConstructor ->from : (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any) => U[] +>from : (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any) => U[] >arguments : IArguments } diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types b/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types index 542329d7f4452..1012cbad340fd 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.types @@ -7,9 +7,9 @@ function f(x: number, y: number, z: number) { return Array.from(arguments); >Array.from(arguments) : any[] ->Array.from : (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any) => U[] +>Array.from : (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any) => U[] >Array : ArrayConstructor ->from : (arrayLike: ArrayLike, mapfn?: (this: void, v: T, k: number) => U, thisArg?: any) => U[] +>from : (arrayLike: ArrayLike, mapfn?: (v: T, k: number) => U, thisArg?: any) => U[] >arguments : IArguments }