From a8a5deb90a89a84e49414597796b1ac1cbfcd0ba Mon Sep 17 00:00:00 2001 From: Dmitrii Sorin Date: Sun, 14 Oct 2018 20:13:53 +1100 Subject: [PATCH] Remove node-fetch dependency for unfetch TS definition file --- src/index.d.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index 4a2ecdd..bf28586 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,17 +1,2 @@ -import { - Body as NodeBody, - Headers as NodeHeaders, - Request as NodeRequest, - Response as NodeResponse -} from "node-fetch"; - -declare namespace unfetch { - export type IsomorphicHeaders = Headers | NodeHeaders; - export type IsomorphicBody = Body | NodeBody; - export type IsomorphicResponse = Response | NodeResponse; - export type IsomorphicRequest = Request | NodeRequest -} - declare const unfetch: typeof fetch; - export = unfetch;