mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Change the default LS target to ES5 from ES6
This commit is contained in:
@@ -1418,9 +1418,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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user