@@ -105,7 +105,7 @@ namespace ts.server {
105
105
export abstract class Project {
106
106
private rootFiles : ScriptInfo [ ] = [ ] ;
107
107
private rootFilesMap : Map < ScriptInfo > = createMap < ScriptInfo > ( ) ;
108
- private program : ts . Program ;
108
+ private program : Program ;
109
109
private externalFiles : SortedReadonlyArray < string > ;
110
110
private missingFilesMap : Map < FileWatcher > = createMap < FileWatcher > ( ) ;
111
111
@@ -180,14 +180,14 @@ namespace ts.server {
180
180
private readonly projectName : string ,
181
181
readonly projectKind : ProjectKind ,
182
182
readonly projectService : ProjectService ,
183
- private documentRegistry : ts . DocumentRegistry ,
183
+ private documentRegistry : DocumentRegistry ,
184
184
hasExplicitListOfFiles : boolean ,
185
185
languageServiceEnabled : boolean ,
186
186
private compilerOptions : CompilerOptions ,
187
187
public compileOnSaveEnabled : boolean ) {
188
188
189
189
if ( ! this . compilerOptions ) {
190
- this . compilerOptions = ts . getDefaultCompilerOptions ( ) ;
190
+ this . compilerOptions = getDefaultCompilerOptions ( ) ;
191
191
this . compilerOptions . allowNonTsExtensions = true ;
192
192
this . compilerOptions . allowJs = true ;
193
193
}
@@ -201,7 +201,7 @@ namespace ts.server {
201
201
this . lsHost = new LSHost ( this . projectService . host , this , this . projectService . cancellationToken ) ;
202
202
this . lsHost . setCompilationSettings ( this . compilerOptions ) ;
203
203
204
- this . languageService = ts . createLanguageService ( this . lsHost , this . documentRegistry ) ;
204
+ this . languageService = createLanguageService ( this . lsHost , this . documentRegistry ) ;
205
205
206
206
if ( ! languageServiceEnabled ) {
207
207
this . disableLanguageService ( ) ;
@@ -875,7 +875,7 @@ namespace ts.server {
875
875
// Used to keep track of what directories are watched for this project
876
876
directoriesWatchedForTsconfig : string [ ] = [ ] ;
877
877
878
- constructor ( projectService : ProjectService , documentRegistry : ts . DocumentRegistry , compilerOptions : CompilerOptions ) {
878
+ constructor ( projectService : ProjectService , documentRegistry : DocumentRegistry , compilerOptions : CompilerOptions ) {
879
879
super ( InferredProject . newName ( ) ,
880
880
ProjectKind . Inferred ,
881
881
projectService ,
@@ -948,7 +948,7 @@ namespace ts.server {
948
948
949
949
constructor ( configFileName : NormalizedPath ,
950
950
projectService : ProjectService ,
951
- documentRegistry : ts . DocumentRegistry ,
951
+ documentRegistry : DocumentRegistry ,
952
952
hasExplicitListOfFiles : boolean ,
953
953
compilerOptions : CompilerOptions ,
954
954
private wildcardDirectories : Map < WatchDirectoryFlags > ,
@@ -1152,7 +1152,7 @@ namespace ts.server {
1152
1152
}
1153
1153
1154
1154
getEffectiveTypeRoots ( ) {
1155
- return ts . getEffectiveTypeRoots ( this . getCompilerOptions ( ) , this . projectService . host ) || [ ] ;
1155
+ return getEffectiveTypeRoots ( this . getCompilerOptions ( ) , this . projectService . host ) || [ ] ;
1156
1156
}
1157
1157
}
1158
1158
@@ -1164,7 +1164,7 @@ namespace ts.server {
1164
1164
private typeAcquisition : TypeAcquisition ;
1165
1165
constructor ( public externalProjectName : string ,
1166
1166
projectService : ProjectService ,
1167
- documentRegistry : ts . DocumentRegistry ,
1167
+ documentRegistry : DocumentRegistry ,
1168
1168
compilerOptions : CompilerOptions ,
1169
1169
languageServiceEnabled : boolean ,
1170
1170
public compileOnSaveEnabled : boolean ,
0 commit comments