We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
this
globalThis.fetch
1 parent 0beeb04 commit 11a5ac3Copy full SHA for 11a5ac3
util.ts
@@ -81,7 +81,7 @@ export const setDefaults = <
81
options: T,
82
): Omit<T, "fetch" | "baseURL"> & Required<Pick<T, "fetch" | "baseURL">> => {
83
const {
84
- fetch = globalThis.fetch,
+ fetch = (input, init) => globalThis.fetch(input, init),
85
baseURL = "https://scrapbox.io/",
86
...rest
87
} = options;
0 commit comments