1
0
mirror of https://github.com/vercel/commerce.git synced 2025-05-03 16:27:50 +00:00

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

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

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