@@ -496,18 +496,17 @@ export class ArraySchema<V = any> implements Array<V>, Collection<number, V> {
496
496
return this . items . lastIndexOf ( searchElement , fromIndex ) ;
497
497
}
498
498
499
- // /**
500
- // * Determines whether all the members of an array satisfy the specified test.
501
- // * @param callbackfn A function that accepts up to three arguments. The every method calls
502
- // * the callbackfn function for each element in the array until the callbackfn returns a value
503
- // * which is coercible to the Boolean value false, or until the end of the array.
504
- // * @param thisArg An object to which the this keyword can refer in the callbackfn function.
505
- // * If thisArg is omitted, undefined is used as the this value.
506
- // */
507
- every < S extends V > ( predicate : ( value : V , index : number , array : V [ ] ) => value is S , thisArg ?: any ) : this is S [ ] ;
508
- every ( callbackfn : ( value : V , index : number , array : V [ ] ) => unknown , thisArg ?: any ) : boolean ;
509
- every ( predicate : any , thisArg ?: any ) : any {
510
- return this . items . every ( predicate , thisArg ) ;
499
+ /**
500
+ * Determines whether all the members of an array satisfy the specified test.
501
+ * @param callbackfn A function that accepts up to three arguments. The every method calls
502
+ * the callbackfn function for each element in the array until the callbackfn returns a value
503
+ * which is coercible to the Boolean value false, or until the end of the array.
504
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
505
+ * If thisArg is omitted, undefined is used as the this value.
506
+ */
507
+ // @ts -ignore
508
+ every ( callbackfn : ( value : V , index : number , array : V [ ] ) => unknown , thisArg ?: any ) : boolean {
509
+ return this . items . every ( callbackfn , thisArg ) ;
511
510
}
512
511
513
512
/**
0 commit comments