-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RequestInit - Type '"timeout"' is not assignable to type 'keyof RequestInit' #59314
Comments
Dug into this a bit. Here are the relevant facts:
This essentially creates a time bomb: anyone using I believe the root issue is that @types/make-fetch-happen The only workaround I can find so far is to either drop dependencies on |
This reverts commit 11ecf3c. Works around DefinitelyTyped/DefinitelyTyped#59314. Now that we aren't downloading anything on end users' systems, we don't have a strong need to respect npm's proxy options.
This reverts commit 11ecf3c. Works around DefinitelyTyped/DefinitelyTyped#59314. Now that we aren't downloading anything on end users' systems, we don't have a strong need to respect npm's proxy options.
@types/node-fetch version: v2.6.1
RequestInit is found in: node_modules/node-fetch/@types/index.d.ts
@types/make-fetch-happen: v9.0.2
node_modules/@types/make-fetch-happen/index.d.ts:25:9
Full Error:
The text was updated successfully, but these errors were encountered: