site/node_modules/cross-fetch/dist/react-native-ponyfill.js

7 lines
373 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
module.exports = global.fetch // To enable: import fetch from 'cross-fetch'
module.exports.default = global.fetch // For TypeScript consumers without esModuleInterop.
module.exports.fetch = global.fetch // To enable: import {fetch} from 'cross-fetch'
module.exports.Headers = global.Headers
module.exports.Request = global.Request
module.exports.Response = global.Response