We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71fc581 commit ee08943Copy full SHA for ee08943
src/lib/es2016.array.include.d.ts
@@ -7,6 +7,15 @@ interface Array<T> {
7
includes(searchElement: T, fromIndex?: number): boolean;
8
}
9
10
+interface 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
+
19
interface Int8Array {
20
/**
21
* Determines whether an array includes a certain element, returning true or false as appropriate.
0 commit comments