Tern & ECMAScript Promise support - angelozerr/tern.java GitHub Wiki

Promise

ECMAScript 6 provides Promise object. If you select ECMAScript 6 module, Tern provides completion for this object :

ECMAScript6 Promise Completion

Tern is able to discover the type of the Promise value :

ECMAScript6 Promise Completion

You can benefit with Promise#then value completion :

Promise Then

See promise.js tests to know the other Promise features that tern can support.