Add ES2018 as target to the used tsconfig-schema.json #43342
Labels
bug
Issue identified by VS Code Team member as probable bug
javascript
JavaScript support issues
json
JSON support issues
verified
Verification succeeded
Milestone
vscode will download the tsconfig-schema.json used for tsconfig validation, which is awesome.
TS 2.7 just added support for ES2018 targets, see microsoft/TypeScript#20385
the current tsconfig-schema yet doesn't allow to use this. I'm not sure where you're pulling the schema from otherwise I'd added a pull request myself.
P.S.: note that with json-schema draft-07 if/then/else was added for even more flexible dependencies in the schema definition. E.g. "only allow target ES2018 if TS version is >=2.7" would be possible now.
The text was updated successfully, but these errors were encountered: