node-fetch/@types
David Glasser 9014db7998
types: support `agent: false` (#1502)
The `agent` option is (after being potentially called as as function)
passed directly to `http.request`. This is allowed to be
a boolean; `http.request` interprets `agent: false` as
"allocate a one-off Agent for this request", which is
distinct from `agent: undefined` which means to use a
default shared agent.

This PR updates the TS types to match the existing behavior.
2022-02-09 23:22:25 +01:00
..
index.d.ts types: support `agent: false` (#1502) 2022-02-09 23:22:25 +01:00
index.test-d.ts types: support `agent: false` (#1502) 2022-02-09 23:22:25 +01:00