Skip to content

Commit

Permalink
one last typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Jun 26, 2024
1 parent 222cce3 commit 53384ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Unused '@ts-expect-error' directive
==== types/expect-error-range/expect-error-range-tests.ts ====

// In TypeScript <5.5, elem will have type "string",
// but 5.5 it will be "string | number".
// but 5.5 it will be "string | undefined".
const elem = ["value", undefined].filter(x => x != null)[0];


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// In TypeScript <5.5, elem will have type "string",
// but 5.5 it will be "string | number".
// but 5.5 it will be "string | undefined".
const elem = ["value", undefined].filter(x => x != null)[0];


Expand Down

0 comments on commit 53384ac

Please sign in to comment.