[Resolved] Unresolved function or method then()

I am currently using Webstorm 2016.3. May I know what Javascript library do I need to download to resolve the warning/error below.

Unresolved function or method then()

Thanks in advance.

2 comments

I found the answer, just enable the ECMAScript 6.

0

I am having the same problem with 2017.3 but the issue does not go away by changing the language version. What is the proper resolution for this?

0

Please sign in to leave a comment.