You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to compile using Typescript, I got the following error:
node_modules/isomorphic-unfetch/index.d.ts:18:3 - error TS2666: Exports and export assignments are not permitted in module augmentations.
18 export = unfetch;
~~~~~~
I don't really understand what's happening but I managed to work around it by manually deleting line 18.
In case its helpful to anybody, steps to reproduce:
Typescript Version 2.9.2
cd node_modules/isomorphic-unfetch
echo "{}" > tsconfig.json
tsc
The text was updated successfully, but these errors were encountered:
When trying to compile using Typescript, I got the following error:
I don't really understand what's happening but I managed to work around it by manually deleting line 18.
In case its helpful to anybody, steps to reproduce:
Typescript Version 2.9.2
The text was updated successfully, but these errors were encountered: