Commit a7387b70 authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: configure typescript for Latest target

This affects the diagnostics and completions when editing javascript
code in the editor.
parent 07496d63
......@@ -177,7 +177,7 @@
});
monaco.languages.typescript.javascriptDefaults.setCompilerOptions({
target: monaco.languages.typescript.ScriptTarget.ES6,
target: monaco.languages.typescript.ScriptTarget.Latest,
allowNonTsExtensions: true,
checkJs: true,
allowJs: true,
......
......@@ -194,7 +194,7 @@ $script.onload = function() {
noSyntaxValidation: false
});
monaco.languages.typescript.javascriptDefaults.setCompilerOptions({
target: monaco.languages.typescript.ScriptTarget.ES6,
target: monaco.languages.typescript.ScriptTarget.Latest,
allowNonTsExtensions: true,
checkJs: true,
allowJs: true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment