From 2c723234ca0d01c5fd3a4e083116e0198e2c187e Mon Sep 17 00:00:00 2001 From: Josias Iquabius Date: Wed, 17 Jun 2020 16:55:46 -0400 Subject: [PATCH] Replace GlobalFetch with WindowOrWorkerGlobalScope GlobalFetch was removed in TS 3.6.2: https://github.com/apollographql/apollo-link/issues/1131 --- packages/web/global.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/global.d.ts b/packages/web/global.d.ts index 4b8b2b139..784576d12 100644 --- a/packages/web/global.d.ts +++ b/packages/web/global.d.ts @@ -1,6 +1,6 @@ declare namespace NodeJS { // O initApollo.ts faz polyfill do fetch no servidor - interface Global extends GlobalFetch {} + interface Global extends WindowOrWorkerGlobalScope {} interface Process { browser: boolean; }