Greetings.
Issue: I have moment-with-locales.min.js (3rd party js library) and myscript.js referenced in the index.html.
However, when I edit myscript.js, the auto completion does not work for methods in moment-with-locales-min.js.
Eg.
Googled abit on this and it seems that jsconfig.json needs to be in the working directory (I may be wrong) and so I added jsconfig.json to the working directory together with myscript.js, moment-with-locales.min.js and index.html.
jsconfig.json
{
“compilerOptions”: {
“target”: “ES6”
},
“include”: [
“src/**/*”
]
}
Unfortunately, it does not work.
Appreciate any advice on this. Thank you!