From 3098827760630207b4489ffaa84a01ee3101844f Mon Sep 17 00:00:00 2001 From: Oliver Heywood <38010640+oliverheywood451@users.noreply.github.com> Date: Thu, 6 Jan 2022 07:01:01 -0600 Subject: [PATCH] #629: Conversion of type 'Global & typeof globalThis' to type 'CustomNodeJsGlobal' may be a mistake (#631) --- framework/ordercloud/api/utils/fetch-rest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/ordercloud/api/utils/fetch-rest.ts b/framework/ordercloud/api/utils/fetch-rest.ts index b7f4ac6a6..61461f72b 100644 --- a/framework/ordercloud/api/utils/fetch-rest.ts +++ b/framework/ordercloud/api/utils/fetch-rest.ts @@ -144,7 +144,7 @@ export const createBuyerFetcher: ( body?: Record, fetchOptions?: Record ) => { - const customGlobal = global as CustomNodeJsGlobal; + const customGlobal = global as unknown as CustomNodeJsGlobal; // Get provider config const config = getConfig()