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

Hi

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?

 

 

0
2 comments

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

0

Yes, all sorted! Thanks!

1

Please sign in to leave a comment.