Skip to content

Commit

Permalink
fix(types): add missing argument to optionally() (nock#2223)
Browse files Browse the repository at this point in the history
  • Loading branch information
limulus authored Aug 20, 2021
1 parent 7cab6b5 commit 74e30de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ declare namespace nock {
once(): this
twice(): this
thrice(): this
optionally(): this
optionally(flag?: boolean): this

delay(opts: number | { head?: number; body?: number }): this
delayBody(timeMs: number): this
Expand Down

0 comments on commit 74e30de

Please sign in to comment.