Closed narthollis closed 3 years ago
This PR Updates the Typescript type definition for fetch to take RequestInfo as the first parameter, allowing a Request object to be passed to fetch in place of a URL string.
fetch
RequestInfo
Request
Resolves #39
Looks good !
@narthollis published in electron-fetch@1.7.4
Awesome - thanks very much for the quick merge!
This PR Updates the Typescript type definition for
fetch
to takeRequestInfo
as the first parameter, allowing aRequest
object to be passed tofetch
in place of a URL string.Resolves #39