Skip to content

Commit

Permalink
Replace GlobalFetch with WindowOrWorkerGlobalScope
Browse files Browse the repository at this point in the history
GlobalFetch was removed in TS 3.6.2:
apollographql/apollo-link#1131
  • Loading branch information
iquabius committed Jun 17, 2020
1 parent 0ae88a6 commit 2c72323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/global.d.ts
Original file line number Diff line number Diff line change
@@ -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;
}
Expand Down

0 comments on commit 2c72323

Please sign in to comment.