1interface Array<T> { 2 /** 3 * Determines whether an array includes a certain element, returning true or false as appropriate. 4 * @param searchElement The element to search for. 5 * @param fromIndex The position in this array at which to begin searching for searchElement. 6 */ 7 includes(searchElement: T, fromIndex?: number): boolean; 8} 9 10interface ReadonlyArray<T> { 11 /** 12 * Determines whether an array includes a certain element, returning true or false as appropriate. 13 * @param searchElement The element to search for. 14 * @param fromIndex The position in this array at which to begin searching for searchElement. 15 */ 16 includes(searchElement: T, fromIndex?: number): boolean; 17} 18 19interface Int8Array { 20 /** 21 * Determines whether an array includes a certain element, returning true or false as appropriate. 22 * @param searchElement The element to search for. 23 * @param fromIndex The position in this array at which to begin searching for searchElement. 24 */ 25 includes(searchElement: number, fromIndex?: number): boolean; 26} 27 28interface Uint8Array { 29 /** 30 * Determines whether an array includes a certain element, returning true or false as appropriate. 31 * @param searchElement The element to search for. 32 * @param fromIndex The position in this array at which to begin searching for searchElement. 33 */ 34 includes(searchElement: number, fromIndex?: number): boolean; 35} 36 37interface Uint8ClampedArray { 38 /** 39 * Determines whether an array includes a certain element, returning true or false as appropriate. 40 * @param searchElement The element to search for. 41 * @param fromIndex The position in this array at which to begin searching for searchElement. 42 */ 43 includes(searchElement: number, fromIndex?: number): boolean; 44} 45 46interface Int16Array { 47 /** 48 * Determines whether an array includes a certain element, returning true or false as appropriate. 49 * @param searchElement The element to search for. 50 * @param fromIndex The position in this array at which to begin searching for searchElement. 51 */ 52 includes(searchElement: number, fromIndex?: number): boolean; 53} 54 55interface Uint16Array { 56 /** 57 * Determines whether an array includes a certain element, returning true or false as appropriate. 58 * @param searchElement The element to search for. 59 * @param fromIndex The position in this array at which to begin searching for searchElement. 60 */ 61 includes(searchElement: number, fromIndex?: number): boolean; 62} 63 64interface Int32Array { 65 /** 66 * Determines whether an array includes a certain element, returning true or false as appropriate. 67 * @param searchElement The element to search for. 68 * @param fromIndex The position in this array at which to begin searching for searchElement. 69 */ 70 includes(searchElement: number, fromIndex?: number): boolean; 71} 72 73interface Uint32Array { 74 /** 75 * Determines whether an array includes a certain element, returning true or false as appropriate. 76 * @param searchElement The element to search for. 77 * @param fromIndex The position in this array at which to begin searching for searchElement. 78 */ 79 includes(searchElement: number, fromIndex?: number): boolean; 80} 81 82interface Float32Array { 83 /** 84 * Determines whether an array includes a certain element, returning true or false as appropriate. 85 * @param searchElement The element to search for. 86 * @param fromIndex The position in this array at which to begin searching for searchElement. 87 */ 88 includes(searchElement: number, fromIndex?: number): boolean; 89} 90 91interface Float64Array { 92 /** 93 * Determines whether an array includes a certain element, returning true or false as appropriate. 94 * @param searchElement The element to search for. 95 * @param fromIndex The position in this array at which to begin searching for searchElement. 96 */ 97 includes(searchElement: number, fromIndex?: number): boolean; 98}