Skip to content

Commit 1a2e29e

Browse files
committed
Fix iterator-helpers test
1 parent 7e06cec commit 1a2e29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/type-definitions/proposals/global/iterator-helpers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ it.every();
7979
it.every((v, i, extra) => true);
8080

8181
const found1: number | undefined = it.find((v, i) => v > 5);
82-
const findString: string | number = itNumStr.find((v): v is string => typeof v === 'string');
82+
const findString: string | number | undefined = itNumStr.find((v): v is string => typeof v === 'string');
8383

8484
// @ts-expect-error
8585
it.find();

0 commit comments

Comments
 (0)