From a5b7b2c1281943248f0e2ea9f397bc657957a13b Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 11 Feb 2015 16:22:54 +1300 Subject: [PATCH] bool is not a type :( --- nock/nock.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nock/nock.d.ts b/nock/nock.d.ts index db6d5df93..b6803ca89 100644 --- a/nock/nock.d.ts +++ b/nock/nock.d.ts @@ -58,7 +58,7 @@ declare module "nock" { matchHeader(name: string, value: string): Scope; matchHeader(name: string, regex: RegExp): Scope; - matchHeader(name: string, fn: (value: string) => bool): Scope; + matchHeader(name: string, fn: (value: string) => boolean): Scope; filteringPath(regex: RegExp, replace: string): Scope; filteringPath(fn: (path: string) => string): Scope;