4
0
forked from crowetic/commerce

#629: Conversion of type 'Global & typeof globalThis' to type 'CustomNodeJsGlobal' may be a mistake (#631)

This commit is contained in:
Oliver Heywood 2022-01-06 07:01:01 -06:00 committed by GitHub
parent b88d3345f1
commit 3098827760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()