Skip to content

Commit

Permalink
fix: "global is not defined" (#1704)
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner committed Jan 30, 2023
1 parent 0f1ebb0 commit 70f592d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser.js
Expand Up @@ -17,7 +17,7 @@ module.exports = exports = globalObject.fetch;

// Needed for TypeScript and Webpack.
if (globalObject.fetch) {
exports.default = globalObject.fetch.bind(global);
exports.default = globalObject.fetch.bind(globalObject);
}

exports.Headers = globalObject.Headers;
Expand Down

0 comments on commit 70f592d

Please sign in to comment.