You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[js] update jsconfig.json to latest tsconfig.json schema #2898
The December release made the jsconfig.json no longer necessary for JS in general, and ES6 in particular. I'm curious if that's still going to be the case, especially in view of #2848 that seemed to depend on it to work correctly.
The December release made the jsconfig.json no longer necessary for JS in general, and ES6 in particular.
This is not fully correct. The December release no longer required you to create a jsconfig.json when you only wanted to configure the target to es6. You still need to define a jsconfig.json to define another module system than the default of when you want to exclude directories (e.g. the node_modules folder) from the project. Something you almost always should do for a larger project.
Yes, thanks for clarifying. But the linked issue wasn't an issue earlier and it was possible to use ES6 import statements in the previous release without the jsconfig file.
I just discovered that IntelliSense for typings works only when the module is set to system. What is this system module and is this the right behaviour?
changed the title [-]update jsconfig.json to latest tsconfig.json schema[/-][+][json] update jsconfig.json to latest tsconfig.json schema[/+]on Feb 23, 2016
changed the title [-][json] update jsconfig.json to latest tsconfig.json schema[/-][+][js] update jsconfig.json to latest tsconfig.json schema[/+]on Feb 23, 2016
Activity
prashaantt commentedon Feb 11, 2016
The December release made the
jsconfig.jsonno longer necessary for JS in general, and ES6 in particular. I'm curious if that's still going to be the case, especially in view of #2848 that seemed to depend on it to work correctly.egamma commentedon Feb 11, 2016
This is not fully correct. The December release no longer required you to create a jsconfig.json when you only wanted to configure the
targetto es6. You still need to define a jsconfig.json to define another module system than the default of when you want to exclude directories (e.g. the node_modules folder) from the project. Something you almost always should do for a larger project.prashaantt commentedon Feb 12, 2016
Yes, thanks for clarifying. But the linked issue wasn't an issue earlier and it was possible to use ES6
importstatements in the previous release without the jsconfig file.prashaantt commentedon Feb 18, 2016
I just discovered that IntelliSense for typings works only when the
moduleis set tosystem. What is thissystemmodule and is this the right behaviour?[-]update jsconfig.json to latest tsconfig.json schema[/-][+][json] update jsconfig.json to latest tsconfig.json schema[/+][-][json] update jsconfig.json to latest tsconfig.json schema[/-][+][js] update jsconfig.json to latest tsconfig.json schema[/+]