Skip to content

Commit 35f1cb0

Browse files
committed
Add types
1 parent 7650b11 commit 35f1cb0

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/iter/any/docs/types

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/iter/any/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function iterator() {
5959
iterAny( undefined ); // $ExpectError
6060
iterAny( [] ); // $ExpectError
6161
iterAny( {} ); // $ExpectError
62-
iterAny( ( x ) => x ); // $ExpectError
62+
iterAny( ( x: number ): number => x ); // $ExpectError
6363
}
6464

6565
// The compiler throws an error if the function is provided insufficient arguments...

0 commit comments

Comments
 (0)