Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
unresolved function or method then()
Permanently deleted user
Created
changing the language level does not work ..this is so annoying to have in an IDE like webstorm..i don't expect to get an answer but makes me not want to use webstorm at all..
Thanks Elena. I actually ended up running `npm install @type/isomorphic-fetch --save` from the command line, which amounts to the same thing. One question - Alt+Enter combo does not seem to work on MacOS. Is there an equivalent?
In Settings | Languages & Frameworks | JavaScript | Libraries, press Download..., choose isomorphic-fetch from the list:
Since 2017.3, this can be done right in the editor - hit Alt+Enter on import statement, choose to install typescript definitions
Thanks Elena. I actually ended up running `npm install @type/isomorphic-fetch --save` from the command line, which amounts to the same thing. One question - Alt+Enter combo does not seem to work on MacOS. Is there an equivalent?
it's the same on OSX... see what shortcut is assigned to Preferences | Keymap | Other | Show Intention Actions