From ec653df94caa58478fdfb500b593d8b0054f012c Mon Sep 17 00:00:00 2001 From: Alexey Svetliakov Date: Wed, 6 Jul 2016 21:06:34 +0200 Subject: [PATCH] PR feedback --- fetch-mock/fetch-mock.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch-mock/fetch-mock.d.ts b/fetch-mock/fetch-mock.d.ts index 77791991b3..8458aa7096 100644 --- a/fetch-mock/fetch-mock.d.ts +++ b/fetch-mock/fetch-mock.d.ts @@ -11,7 +11,7 @@ declare module "fetch-mock" { * @param url * @param opts */ - type MockMatcherFunction = (url: string, opts: Object) => boolean; + type MockMatcherFunction = (url: string, opts: any) => boolean; /** * Mock matcher. Can be one of following: * string: Either an exact url to match e.g. 'http://www.site.com/page.html' or, if the string begins with a ^, the string following the ^ must begin the url @@ -26,7 +26,7 @@ declare module "fetch-mock" { * @param url * @param opts */ - type MockResponseFunction = (url: string, opts: Object) => MockResponse; + type MockResponseFunction = (url: string, opts: any) => MockResponse; /** * number: Creates a response with this status * string: Creates a 200 response with the string as the response body