ECMAScript 6 provides Promise object. If you select ECMAScript 6 module, Tern provides completion for this object :
ECMAScript 6
Tern is able to discover the type of the Promise value :
You can benefit with Promise#then value completion :
Promise#then
See promise.js tests to know the other Promise features that tern can support.
There was an error while loading. Please reload this page.