forked from crowetic/commerce
#629: Conversion of type 'Global & typeof globalThis' to type 'CustomNodeJsGlobal' may be a mistake (#631)
This commit is contained in:
parent
b88d3345f1
commit
3098827760
@ -144,7 +144,7 @@ export const createBuyerFetcher: (
|
||||
body?: Record<string, unknown>,
|
||||
fetchOptions?: Record<string, any>
|
||||
) => {
|
||||
const customGlobal = global as CustomNodeJsGlobal;
|
||||
const customGlobal = global as unknown as CustomNodeJsGlobal;
|
||||
|
||||
// Get provider config
|
||||
const config = getConfig()
|
||||
|
Loading…
x
Reference in New Issue
Block a user