1 | module.exports = global.fetch // To enable: import fetch from 'cross-fetch'
|
2 | module.exports.default = global.fetch // For TypeScript consumers without esModuleInterop.
|
3 | module.exports.fetch = global.fetch // To enable: import {fetch} from 'cross-fetch'
|
4 | module.exports.Headers = global.Headers
|
5 | module.exports.Request = global.Request
|
6 | module.exports.Response = global.Response
|