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

This commit is contained in:
Oliver Heywood 2022-01-05 10:22:39 -06:00
parent b88d3345f1
commit 137053d61f

View File

@ -144,7 +144,7 @@ export const createBuyerFetcher: (
body?: Record<string, unknown>, body?: Record<string, unknown>,
fetchOptions?: Record<string, any> fetchOptions?: Record<string, any>
) => { ) => {
const customGlobal = global as CustomNodeJsGlobal; const customGlobal = global as unknown as CustomNodeJsGlobal;
// Get provider config // Get provider config
const config = getConfig() const config = getConfig()