Change the default LS target to ES5 from ES6

This commit is contained in:
Mohamed Hegazy 2015-02-02 19:15:43 -08:00
parent bbbec22917
commit 091038eca1

View File

@ -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,
};
}