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

tern provides a support for the following versions of ECMAScript:

New Preferences

ECMAScript

Since 1.1.0, Tern IDE provides an ECMAScript UI preferences. After installing and converting your project as Tern Project, go at Tern project property, click on Tern item and select the ECMAScript version:

Select ECMAScript version

JSDoc

tern can use JSDoc help the inference engine to discover types.

Old Preferences

After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the ECMAScript module and version:

Select ECMAScript Module