arantes555 / electron-fetch

A light-weight module that brings window.fetch to the background process of Electron
Other
133 stars 21 forks source link

fetch type defintion should accept RequestInfo #38

Closed narthollis closed 3 years ago

narthollis commented 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.

Resolves #39

arantes555 commented 3 years ago

Looks good !

arantes555 commented 3 years ago

@narthollis published in electron-fetch@1.7.4

narthollis commented 3 years ago

Awesome - thanks very much for the quick merge!