File tree 3 files changed +4
-4
lines changed
lib/node_modules/@stdlib/iter
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function iterator() {
59
59
iterEvery ( undefined ) ; // $ExpectError
60
60
iterEvery ( [ ] ) ; // $ExpectError
61
61
iterEvery ( { } ) ; // $ExpectError
62
- iterEvery ( ( x ) => x ) ; // $ExpectError
62
+ iterEvery ( ( x : number ) : number => x ) ; // $ExpectError
63
63
}
64
64
65
65
// The compiler throws an error if the function is provided insufficient arguments...
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function iterator() {
59
59
iterNone ( undefined ) ; // $ExpectError
60
60
iterNone ( [ ] ) ; // $ExpectError
61
61
iterNone ( { } ) ; // $ExpectError
62
- iterNone ( ( x ) => x ) ; // $ExpectError
62
+ iterNone ( ( x : number ) : number => x ) ; // $ExpectError
63
63
}
64
64
65
65
// The compiler throws an error if the function is provided insufficient arguments...
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function iterator() {
59
59
iterSome ( undefined , 3 ) ; // $ExpectError
60
60
iterSome ( [ ] , 3 ) ; // $ExpectError
61
61
iterSome ( { } , 3 ) ; // $ExpectError
62
- iterSome ( ( x ) => x , 3 ) ; // $ExpectError
62
+ iterSome ( ( x : number ) : number => x , 3 ) ; // $ExpectError
63
63
}
64
64
65
65
// The compiler throws an error if the function is provided a second argument which is not a number...
@@ -71,7 +71,7 @@ function iterator() {
71
71
iterSome ( iterator ( ) , undefined ) ; // $ExpectError
72
72
iterSome ( iterator ( ) , [ ] ) ; // $ExpectError
73
73
iterSome ( iterator ( ) , { } ) ; // $ExpectError
74
- iterSome ( iterator ( ) , ( x ) => x ) ; // $ExpectError
74
+ iterSome ( iterator ( ) , ( x : number ) : number => x ) ; // $ExpectError
75
75
}
76
76
77
77
// The compiler throws an error if the function is provided insufficient arguments...
You can’t perform that action at this time.
0 commit comments