@@ -105,7 +105,7 @@ namespace ts.server {
105105 export abstract class Project {
106106 private rootFiles : ScriptInfo [ ] = [ ] ;
107107 private rootFilesMap : Map < ScriptInfo > = createMap < ScriptInfo > ( ) ;
108- private program : ts . Program ;
108+ private program : Program ;
109109 private externalFiles : SortedReadonlyArray < string > ;
110110 private missingFilesMap : Map < FileWatcher > = createMap < FileWatcher > ( ) ;
111111
@@ -180,14 +180,14 @@ namespace ts.server {
180180 private readonly projectName : string ,
181181 readonly projectKind : ProjectKind ,
182182 readonly projectService : ProjectService ,
183- private documentRegistry : ts . DocumentRegistry ,
183+ private documentRegistry : DocumentRegistry ,
184184 hasExplicitListOfFiles : boolean ,
185185 languageServiceEnabled : boolean ,
186186 private compilerOptions : CompilerOptions ,
187187 public compileOnSaveEnabled : boolean ) {
188188
189189 if ( ! this . compilerOptions ) {
190- this . compilerOptions = ts . getDefaultCompilerOptions ( ) ;
190+ this . compilerOptions = getDefaultCompilerOptions ( ) ;
191191 this . compilerOptions . allowNonTsExtensions = true ;
192192 this . compilerOptions . allowJs = true ;
193193 }
@@ -201,7 +201,7 @@ namespace ts.server {
201201 this . lsHost = new LSHost ( this . projectService . host , this , this . projectService . cancellationToken ) ;
202202 this . lsHost . setCompilationSettings ( this . compilerOptions ) ;
203203
204- this . languageService = ts . createLanguageService ( this . lsHost , this . documentRegistry ) ;
204+ this . languageService = createLanguageService ( this . lsHost , this . documentRegistry ) ;
205205
206206 if ( ! languageServiceEnabled ) {
207207 this . disableLanguageService ( ) ;
@@ -875,7 +875,7 @@ namespace ts.server {
875875 // Used to keep track of what directories are watched for this project
876876 directoriesWatchedForTsconfig : string [ ] = [ ] ;
877877
878- constructor ( projectService : ProjectService , documentRegistry : ts . DocumentRegistry , compilerOptions : CompilerOptions ) {
878+ constructor ( projectService : ProjectService , documentRegistry : DocumentRegistry , compilerOptions : CompilerOptions ) {
879879 super ( InferredProject . newName ( ) ,
880880 ProjectKind . Inferred ,
881881 projectService ,
@@ -948,7 +948,7 @@ namespace ts.server {
948948
949949 constructor ( configFileName : NormalizedPath ,
950950 projectService : ProjectService ,
951- documentRegistry : ts . DocumentRegistry ,
951+ documentRegistry : DocumentRegistry ,
952952 hasExplicitListOfFiles : boolean ,
953953 compilerOptions : CompilerOptions ,
954954 private wildcardDirectories : Map < WatchDirectoryFlags > ,
@@ -1152,7 +1152,7 @@ namespace ts.server {
11521152 }
11531153
11541154 getEffectiveTypeRoots ( ) {
1155- return ts . getEffectiveTypeRoots ( this . getCompilerOptions ( ) , this . projectService . host ) || [ ] ;
1155+ return getEffectiveTypeRoots ( this . getCompilerOptions ( ) , this . projectService . host ) || [ ] ;
11561156 }
11571157 }
11581158
@@ -1164,7 +1164,7 @@ namespace ts.server {
11641164 private typeAcquisition : TypeAcquisition ;
11651165 constructor ( public externalProjectName : string ,
11661166 projectService : ProjectService ,
1167- documentRegistry : ts . DocumentRegistry ,
1167+ documentRegistry : DocumentRegistry ,
11681168 compilerOptions : CompilerOptions ,
11691169 languageServiceEnabled : boolean ,
11701170 public compileOnSaveEnabled : boolean ,
0 commit comments