diff --git a/packages/now-client/src/utils/index.ts b/packages/now-client/src/utils/index.ts index a08f968217f..f43195162e1 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 { RequestInit } from 'node-fetch'; +import { FetchOptions } from '@zeit/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 RequestInit { +interface FetchOpts extends FetchOptions { apiUrl?: string; method?: string; teamId?: string;