Use native maps when they're available

This commit is contained in:
Andy Hanson committed 2016-10-06 13:29:18 -07:00
1 parent 3212e25a3a
commit aadcbcc083
66 files changed
+1678 -1326

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ namespace ts.server {
export class ScriptInfo {
/**
* All projects that include this file
* All projects that include this file
*/
readonly containingProjects: Project[] = [];
private formatCodeSettings: ts.FormatCodeSettings;
@@ -96,7 +96,7 @@ namespace ts.server {
if (!this.formatCodeSettings) {
this.formatCodeSettings = getDefaultFormatCodeSettings(this.host);
}
mergeMaps(this.formatCodeSettings, formatSettings);
mergeMapLikes(this.formatCodeSettings, formatSettings);
}
}