From 948b404f2c40d309d8bbd4e01d64c7e671136016 Mon Sep 17 00:00:00 2001 From: Vladimir Grichina Date: Wed, 9 Oct 2019 11:28:29 -0700 Subject: [PATCH] Add TODO --- src.ts/utils/web.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src.ts/utils/web.ts b/src.ts/utils/web.ts index fd7b3d0ffd..9f7f088632 100644 --- a/src.ts/utils/web.ts +++ b/src.ts/utils/web.ts @@ -11,6 +11,8 @@ export interface ConnectionInfo { headers?: { [key: string]: string | number }; } + +// TODO: Move into separate module and exclude node-fetch kludge from browser build let fetch; if (typeof window === 'undefined' || window.name === 'nodejs') { const nodeFetch = require('node-fetch');