From 137053d61f1c893a112998092d6551568fd29044 Mon Sep 17 00:00:00 2001 From: Oliver Heywood Date: Wed, 5 Jan 2022 10:22:39 -0600 Subject: [PATCH] #629: Conversion of type 'Global & typeof globalThis' to type 'CustomNodeJsGlobal' may be a mistake --- 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()