From 820db234f82d0a624cddb625529196807b571b5e Mon Sep 17 00:00:00 2001 From: luc Date: Tue, 28 Jan 2020 00:42:39 +0100 Subject: [PATCH] Revert "fix type error (another)" This reverts commit 1d0dace70a0bf2dfb2473a48408e560f060e5c50. --- packages/now-client/src/utils/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/now-client/src/utils/index.ts b/packages/now-client/src/utils/index.ts index f43195162e1..a08f968217f 100644 --- a/packages/now-client/src/utils/index.ts +++ b/packages/now-client/src/utils/index.ts @@ -1,6 +1,6 @@ import { DeploymentFile } from './hashes'; import { parse as parseUrl } from 'url'; -import { FetchOptions } from '@zeit/fetch'; +import { RequestInit } from 'node-fetch'; import { nodeFetch, zeitFetch } from './fetch'; import { join, sep } from 'path'; import qs from 'querystring'; @@ -115,7 +115,7 @@ export async function getNowIgnore(path: string | string[]): Promise { return { ig, ignores }; } -interface FetchOpts extends FetchOptions { +interface FetchOpts extends RequestInit { apiUrl?: string; method?: string; teamId?: string;