Jsconfig.json file for Visual Studio Code

Running my new apps with VS Code, I have a warning, asking for a jsconfig.json file.
There is a tsconfig file, that’s ok, but since the .js files provided by the default Ionic 2 apps are ES6, shouldn’t ther be such a jsconfig file ?

Thanks !

Try saving this next to your tsconfig.json

“compilerOptions”: {
“target”: “ES6”,
“module”: “commonjs”,
“experimentalDecorators” : true

1 Like


I alreday did that, thank you. Visual Studio Code told me to actually :wink:

But my question was : should the initial “start” ionic command create this file or not ?


hi wllb,

saving that setting to tsconfig.json does not work, vs code specifically ask for jsconfig.json. by making copy tsconfig.json as jsconfig.json with that update works. obvious, ionic2 is still new, vs code need to update with the correct config file name.

1 Like