diff --git a/types/nock/index.d.ts b/types/nock/index.d.ts index afebacf1e5..958e97bc15 100644 --- a/types/nock/index.d.ts +++ b/types/nock/index.d.ts @@ -73,7 +73,7 @@ declare namespace nock { filteringRequestBody(regex: RegExp, replace: string): this; filteringRequestBody(fn: (body: string) => string): this; - log(out: () => void): this; + log(out: (message: any, ...optionalParams: any[]) => void): this; persist(flag?: boolean): this; shouldPersist(): boolean; replyContentLength(): this;