@@ -1539,7 +1539,7 @@ interface Int8Array {
1539
1539
* @param thisArg If provided, it will be used as the this value for each invocation of
1540
1540
* predicate. If it is not provided, undefined is used instead.
1541
1541
*/
1542
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
1542
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
1543
1543
1544
1544
/**
1545
1545
* Performs the specified action for each element in an array.
@@ -1812,7 +1812,7 @@ interface Uint8Array {
1812
1812
* @param thisArg If provided, it will be used as the this value for each invocation of
1813
1813
* predicate. If it is not provided, undefined is used instead.
1814
1814
*/
1815
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
1815
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
1816
1816
1817
1817
/**
1818
1818
* Performs the specified action for each element in an array.
@@ -2086,7 +2086,7 @@ interface Uint8ClampedArray {
2086
2086
* @param thisArg If provided, it will be used as the this value for each invocation of
2087
2087
* predicate. If it is not provided, undefined is used instead.
2088
2088
*/
2089
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
2089
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
2090
2090
2091
2091
/**
2092
2092
* Performs the specified action for each element in an array.
@@ -2359,7 +2359,7 @@ interface Int16Array {
2359
2359
* @param thisArg If provided, it will be used as the this value for each invocation of
2360
2360
* predicate. If it is not provided, undefined is used instead.
2361
2361
*/
2362
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
2362
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
2363
2363
2364
2364
/**
2365
2365
* Performs the specified action for each element in an array.
@@ -2633,7 +2633,7 @@ interface Uint16Array {
2633
2633
* @param thisArg If provided, it will be used as the this value for each invocation of
2634
2634
* predicate. If it is not provided, undefined is used instead.
2635
2635
*/
2636
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
2636
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
2637
2637
2638
2638
/**
2639
2639
* Performs the specified action for each element in an array.
@@ -2906,7 +2906,7 @@ interface Int32Array {
2906
2906
* @param thisArg If provided, it will be used as the this value for each invocation of
2907
2907
* predicate. If it is not provided, undefined is used instead.
2908
2908
*/
2909
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
2909
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
2910
2910
2911
2911
/**
2912
2912
* Performs the specified action for each element in an array.
@@ -3179,7 +3179,7 @@ interface Uint32Array {
3179
3179
* @param thisArg If provided, it will be used as the this value for each invocation of
3180
3180
* predicate. If it is not provided, undefined is used instead.
3181
3181
*/
3182
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
3182
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
3183
3183
3184
3184
/**
3185
3185
* Performs the specified action for each element in an array.
@@ -3452,7 +3452,7 @@ interface Float32Array {
3452
3452
* @param thisArg If provided, it will be used as the this value for each invocation of
3453
3453
* predicate. If it is not provided, undefined is used instead.
3454
3454
*/
3455
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
3455
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
3456
3456
3457
3457
/**
3458
3458
* Performs the specified action for each element in an array.
@@ -3726,7 +3726,7 @@ interface Float64Array {
3726
3726
* @param thisArg If provided, it will be used as the this value for each invocation of
3727
3727
* predicate. If it is not provided, undefined is used instead.
3728
3728
*/
3729
- findIndex ( predicate : ( value : number ) => boolean , thisArg ?: any ) : number ;
3729
+ findIndex ( predicate : ( value : number , index : number , obj : Array < number > ) => boolean , thisArg ?: any ) : number ;
3730
3730
3731
3731
/**
3732
3732
* Performs the specified action for each element in an array.
0 commit comments