Add comments about why we need two methods that return compilerOptions

This commit is contained in:
Sheetal Nandi
2017-10-16 13:06:15 -07:00
parent 3c27e782da
commit 734bda833c

View File

@@ -242,12 +242,14 @@ namespace ts.server {
this.markAsDirty();
}
// Method of LanguageServiceHost
getCompilationSettings() {
return this.compilerOptions;
}
// Method to support public API
getCompilerOptions() {
return this.compilerOptions;
return this.getCompilationSettings();
}
getNewLine() {