From 52164aeb72e0f9b8e6969d5f9a615b57126ee040 Mon Sep 17 00:00:00 2001 From: Leo Liang Date: Mon, 21 Jan 2019 17:16:34 +0800 Subject: [PATCH] nock: debug function --- types/nock/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;