bool is not a type :(

This commit is contained in:
Wim
2015-02-11 16:22:54 +13:00
parent 48256bad09
commit a5b7b2c128
+1 -1
View File
@@ -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;