From 74e30de827e58bd5debe0c09f8066adf2f3de5ff Mon Sep 17 00:00:00 2001 From: Eric McCarthy Date: Fri, 20 Aug 2021 09:51:50 -0700 Subject: [PATCH] fix(types): add missing argument to optionally() (#2223) --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index b0c26bd17..289384982 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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