@@ -24,7 +24,7 @@ interface Array<T> {
24
24
* @param searchElement The element to search for.
25
25
* @param fromIndex The position in this array at which to begin searching for searchElement.
26
26
*/
27
- includes ( searchElement : T , fromIndex ?: number ) : boolean ;
27
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
28
28
}
29
29
30
30
interface ReadonlyArray < T > {
@@ -33,7 +33,7 @@ interface ReadonlyArray<T> {
33
33
* @param searchElement The element to search for.
34
34
* @param fromIndex The position in this array at which to begin searching for searchElement.
35
35
*/
36
- includes ( searchElement : T , fromIndex ?: number ) : boolean ;
36
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
37
37
}
38
38
39
39
interface Int8Array {
@@ -42,7 +42,7 @@ interface Int8Array {
42
42
* @param searchElement The element to search for.
43
43
* @param fromIndex The position in this array at which to begin searching for searchElement.
44
44
*/
45
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
45
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
46
46
}
47
47
48
48
interface Uint8Array {
@@ -51,7 +51,7 @@ interface Uint8Array {
51
51
* @param searchElement The element to search for.
52
52
* @param fromIndex The position in this array at which to begin searching for searchElement.
53
53
*/
54
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
54
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
55
55
}
56
56
57
57
interface Uint8ClampedArray {
@@ -60,7 +60,7 @@ interface Uint8ClampedArray {
60
60
* @param searchElement The element to search for.
61
61
* @param fromIndex The position in this array at which to begin searching for searchElement.
62
62
*/
63
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
63
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
64
64
}
65
65
66
66
interface Int16Array {
@@ -69,7 +69,7 @@ interface Int16Array {
69
69
* @param searchElement The element to search for.
70
70
* @param fromIndex The position in this array at which to begin searching for searchElement.
71
71
*/
72
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
72
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
73
73
}
74
74
75
75
interface Uint16Array {
@@ -78,7 +78,7 @@ interface Uint16Array {
78
78
* @param searchElement The element to search for.
79
79
* @param fromIndex The position in this array at which to begin searching for searchElement.
80
80
*/
81
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
81
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
82
82
}
83
83
84
84
interface Int32Array {
@@ -87,7 +87,7 @@ interface Int32Array {
87
87
* @param searchElement The element to search for.
88
88
* @param fromIndex The position in this array at which to begin searching for searchElement.
89
89
*/
90
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
90
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
91
91
}
92
92
93
93
interface Uint32Array {
@@ -96,7 +96,7 @@ interface Uint32Array {
96
96
* @param searchElement The element to search for.
97
97
* @param fromIndex The position in this array at which to begin searching for searchElement.
98
98
*/
99
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
99
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
100
100
}
101
101
102
102
interface Float32Array {
@@ -105,7 +105,7 @@ interface Float32Array {
105
105
* @param searchElement The element to search for.
106
106
* @param fromIndex The position in this array at which to begin searching for searchElement.
107
107
*/
108
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
108
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
109
109
}
110
110
111
111
interface Float64Array {
@@ -114,5 +114,5 @@ interface Float64Array {
114
114
* @param searchElement The element to search for.
115
115
* @param fromIndex The position in this array at which to begin searching for searchElement.
116
116
*/
117
- includes ( searchElement : number , fromIndex ?: number ) : boolean ;
118
- }
117
+ includes ( searchElement : unknown , fromIndex ?: number ) : boolean ;
118
+ }
0 commit comments