lquixada / cross-fetch

Universal WHATWG Fetch API for Node, Browsers and React Native.
MIT License
1.67k stars 104 forks source link

Types for the polyfill? #148

Closed segevfiner closed 1 year ago

segevfiner commented 1 year ago

I wonder if it is possible to include types for the polyfill? e.g. By adding a types field to the polyfill/package.json that will declare the global fetch API?

stuft2 commented 1 year ago

https://github.com/lquixada/cross-fetch/pull/147

lquixada commented 1 year ago

@segevfiner thanks for reporting. #147 has been merged.