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.
2 parents 0beeb04 + 11a5ac3 commit 12efbd4Copy full SHA for 12efbd4
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