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