diff --git a/src/lib/es7.d.ts b/src/lib/es7.d.ts index f5dac64b43c..17b3eaac1d3 100644 --- a/src/lib/es7.d.ts +++ b/src/lib/es7.d.ts @@ -2,7 +2,7 @@ interface Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: T, fromIndex?: number): boolean; } @@ -11,16 +11,16 @@ interface Int8Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ - includes(searchElement: Int8Array, fromIndex?: number): boolean; + includes(searchElement: number, fromIndex?: number): boolean; } interface Uint8Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: number, fromIndex?: number): boolean; } @@ -29,7 +29,7 @@ interface Uint8ClampedArray { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: number, fromIndex?: number): boolean; } @@ -38,7 +38,7 @@ interface Int16Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: number, fromIndex?: number): boolean; } @@ -47,7 +47,7 @@ interface Uint16Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: number, fromIndex?: number): boolean; } @@ -56,7 +56,7 @@ interface Int32Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: number, fromIndex?: number): boolean; } @@ -65,7 +65,7 @@ interface Uint32Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: number, fromIndex?: number): boolean; } @@ -74,7 +74,7 @@ interface Float32Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: number, fromIndex?: number): boolean; } @@ -83,7 +83,7 @@ interface Float64Array { /** * Determines whether an array includes a certain element, returning true or false as appropriate. * @param searchElement The element to search for. - * @param fromIndex The position in this array at which to begin searching for searchElement. + * @param fromIndex The position in this array at which to begin searching for searchElement. */ includes(searchElement: number, fromIndex?: number): boolean; } \ No newline at end of file