File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
lib/node_modules/@stdlib/iter Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function iterator() {
5959 iterEvery ( undefined ) ; // $ExpectError
6060 iterEvery ( [ ] ) ; // $ExpectError
6161 iterEvery ( { } ) ; // $ExpectError
62- iterEvery ( ( x ) => x ) ; // $ExpectError
62+ iterEvery ( ( x : number ) : number => x ) ; // $ExpectError
6363}
6464
6565// 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() {
5959 iterNone ( undefined ) ; // $ExpectError
6060 iterNone ( [ ] ) ; // $ExpectError
6161 iterNone ( { } ) ; // $ExpectError
62- iterNone ( ( x ) => x ) ; // $ExpectError
62+ iterNone ( ( x : number ) : number => x ) ; // $ExpectError
6363}
6464
6565// 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() {
5959 iterSome ( undefined , 3 ) ; // $ExpectError
6060 iterSome ( [ ] , 3 ) ; // $ExpectError
6161 iterSome ( { } , 3 ) ; // $ExpectError
62- iterSome ( ( x ) => x , 3 ) ; // $ExpectError
62+ iterSome ( ( x : number ) : number => x , 3 ) ; // $ExpectError
6363}
6464
6565// The compiler throws an error if the function is provided a second argument which is not a number...
@@ -71,7 +71,7 @@ function iterator() {
7171 iterSome ( iterator ( ) , undefined ) ; // $ExpectError
7272 iterSome ( iterator ( ) , [ ] ) ; // $ExpectError
7373 iterSome ( iterator ( ) , { } ) ; // $ExpectError
74- iterSome ( iterator ( ) , ( x ) => x ) ; // $ExpectError
74+ iterSome ( iterator ( ) , ( x : number ) : number => x ) ; // $ExpectError
7575}
7676
7777// The compiler throws an error if the function is provided insufficient arguments...
You can’t perform that action at this time.
0 commit comments