mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Add comments about why we need two methods that return compilerOptions
This commit is contained in:
1 parent
3c27e782da
commit
734bda833c
1 file changed
+3
-1
@@ -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