This project generates JSON type description file for Google Maps JavaScript API v3. This file can be loaded by TernJs that allows to have code hints in IDEs that use TernJs as code-analysis engine for JavaScript.
-
Copy googlemapsjsv3.json to your project folder.
-
Add it in libs section of .tern-project file
For example,
{
"libs": [
"{ternific}/libs/tern/defs/reserved",
"{ternific}/libs/tern/defs/lodash",
"ecma5",
"browser",
"jquery",
"{project}/googlemapsjsv3"
],
"loadEagerly": [],
"async": true,
"plugins": {
"es_modules": true
}
}
For more details please refer TernJs documentation