diff --git a/src/index.d.ts b/src/index.d.ts index 0c53ad9..bc54eaf 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,17 +1,3 @@ -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 default unfetch;