Skip to content

Commit

Permalink
fixup: docs copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous committed Oct 7, 2023
1 parent 71fdca8 commit e7f7888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function overloaded(input?: number): string | null {
when(overloaded).calledWith(42).thenReturn('hello');

// $ts-expect-error: first entry
subject.when(overloaded).calledWith().thenReturn(null);
when(overloaded).calledWith().thenReturn(null);

// Manually specified: all good!
when<() => null>(overloaded).calledWith().thenReturn(null);
Expand Down

0 comments on commit e7f7888

Please sign in to comment.