The shape the client calls fetch by.
fetch
Narrower than typeof globalThis.fetch on purpose: undici's fetch declares its own RequestInit — one with dispatcher and without duplex — and a proxy wrapper would not type-check against the global signature.
typeof globalThis.fetch
RequestInit
dispatcher
duplex
The shape the client calls
fetchby.Narrower than
typeof globalThis.fetchon purpose: undici'sfetchdeclares its ownRequestInit— one withdispatcherand withoutduplex— and a proxy wrapper would not type-check against the global signature.