Skip to content

Commit

Permalink
chore: Better test types error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavoguichard committed Dec 19, 2023
1 parent 11383d7 commit 2e3eea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ type Equal<A, B> =
// prettier-ignore
(<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2)
? true
: false
: [A, 'should equal', B]

0 comments on commit 2e3eea5

Please sign in to comment.