@WebStormIDE quick question—I can’t find any way to tell Webstorm that the Fetch API exists. None of the TS defns seem to work…
-
-
Hey that fixed it! Bit weird to have it in my package.json though… I guess it just needs to be in the node_modules dir?
-
You can save the file from GitHub https://github.com/DefinitelyTyped/DefinitelyTyped/blob/7371891d4b0ea31f433da869330fd9e4138d5f6d/isomorphic-fetch/index.d.ts … and add it via Preferences | Languages & Frameworks | JS | Libraries - Add
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.