Webstorm 2019.1 EAP - doesn't recognise string, Promise etc.


I updated to 2019.1 EAP today. I noticed after the update that Webstorm is highlighting a bunch of things as unrecognised, which it wasn't doing before. For example:

- doesn't recognise string as in: fn(email : string)   [ my project is flow, and language is set to flow ]. Doesn't recognise other basic types like Array etc.

- doesn't recognise .name after class names (e.g. User.name)

- doesn't recognise Promise.all - unsolved variable or type


This wasn't happening in 2018.3 - is there something i need to change/enable?



Comment actions Permalink

Please try invalidating caches (File | Invalidate caches, Invalidate and restart) - does the issue persist?

Comment actions Permalink

Yes, all sorted! Thanks!


Please sign in to leave a comment.