mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-12 01:48:33 -05:00
Add comments about why we need two methods that return compilerOptions
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user