File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ namespace ts.server {
389389 }
390390
391391 getTypeRootsVersion ( project : ConfiguredProject ) {
392- return getLatestDirectoryChangeTime ( project . getEffectiveTypeRoots ( ) , this . host ) ;
392+ return server . getLatestDirectoryChangeTime ( project . getEffectiveTypeRoots ( ) , this . host ) ;
393393 }
394394
395395 private handleChangeInSourceFileForConfiguredProject ( project : ConfiguredProject ) {
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ namespace ts.server {
147147
148148 getTypeRootsVersion ( ) {
149149 const roots = ts . getEffectiveTypeRoots ( this . project . getCompilerOptions ( ) , this ) ;
150- return getLatestChangeTime ( roots , this . host ) ;
150+ return server . getLatestDirectoryChangeTime ( roots , this . host ) ;
151151 }
152152
153153 getScriptKind ( fileName : string ) {
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ namespace ts.server {
9494 if ( ! host . getModifiedTime || ! host . directoryExists || ! paths ) {
9595 return 0 ;
9696 }
97-
97+
9898 return Math . max . apply ( Math , paths . map ( path => {
9999 if ( host . directoryExists ( path ) ) {
100100 return host . getModifiedTime ( path ) ;
You can’t perform that action at this time.
0 commit comments