Merge pull request #1904 from Microsoft/changeLSDefaultTarget
Change the default LS target to ES5 from ES6
This commit is contained in:
commit
784dda5229
1 changed files with 2 additions and 2 deletions
|
@ -1437,9 +1437,9 @@ module ts {
|
|||
}
|
||||
|
||||
export function getDefaultCompilerOptions(): CompilerOptions {
|
||||
// Set "ScriptTarget.Latest" target by default for language service
|
||||
// Always default to "ScriptTarget.ES5" for the language service
|
||||
return {
|
||||
target: ScriptTarget.Latest,
|
||||
target: ScriptTarget.ES5,
|
||||
module: ModuleKind.None,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue