@@ -66,7 +66,7 @@ namespace ts {
66
66
runTsd ( cachePath : string , typingsToInstall : string [ ] , postInstallAction : ( installedTypings : string [ ] ) => void ) {
67
67
this . postInstallActions . push ( map => {
68
68
postInstallAction ( map ( typingsToInstall ) ) ;
69
- } )
69
+ } ) ;
70
70
}
71
71
72
72
sendResponse ( response : server . InstallTypingsResponse ) {
@@ -75,7 +75,7 @@ namespace ts {
75
75
76
76
enqueueInstallTypingsRequest ( project : server . Project , typingOptions : TypingOptions ) {
77
77
const request = server . createInstallTypingsRequest ( project , typingOptions , this . safeFileList , this . packageNameToTypingLocation , this . cachePath ) ;
78
- this . install ( request )
78
+ this . install ( request ) ;
79
79
}
80
80
}
81
81
@@ -260,7 +260,7 @@ namespace ts {
260
260
261
261
readonly watchedDirectories : MapLike < { cb : DirectoryWatcherCallback , recursive : boolean } [ ] > = { } ;
262
262
readonly watchedFiles : MapLike < FileWatcherCallback [ ] > = { } ;
263
-
263
+
264
264
private filesOrFolders : FileOrFolder [ ] ;
265
265
266
266
constructor ( public useCaseSensitiveFileNames : boolean , private executingFilePath : string , private currentDirectory : string , fileOrFolderList : FileOrFolder [ ] ) {
@@ -428,9 +428,9 @@ namespace ts {
428
428
}
429
429
430
430
writeFile ( path : string , content : string ) : void {
431
- this . createFileOrFolder ( { path, content, fileSize : content . length } )
431
+ this . createFileOrFolder ( { path, content, fileSize : content . length } ) ;
432
432
}
433
-
433
+
434
434
createFileOrFolder ( f : FileOrFolder , createParentDirectory = false ) : void {
435
435
const base = getDirectoryPath ( f . path ) ;
436
436
if ( base !== f . path && ! this . directoryExists ( base ) ) {
@@ -446,7 +446,7 @@ namespace ts {
446
446
filesOrFolders . push ( f ) ;
447
447
this . reloadFS ( filesOrFolders ) ;
448
448
}
449
-
449
+
450
450
readonly readFile = ( s : string ) => ( < File > this . fs . get ( this . toPath ( s ) ) ) . content ;
451
451
readonly resolvePath = ( s : string ) => s ;
452
452
readonly getExecutingFilePath = ( ) => this . executingFilePath ;
@@ -1520,15 +1520,15 @@ namespace ts {
1520
1520
const host = createServerHost ( [ file1 , tsconfig , packageJson ] ) ;
1521
1521
class TypingInstaller extends TestTypingsInstaller {
1522
1522
cachePath = "/a/data/" ;
1523
- constructor ( host : server . ServerHost ) {
1523
+ constructor ( host : server . ServerHost ) {
1524
1524
super ( host ) ;
1525
1525
}
1526
1526
} ;
1527
1527
const installer = new TypingInstaller ( host ) ;
1528
1528
const projectService = new server . ProjectService ( host , nullLogger , nullCancellationToken , /*useSingleInferredProject*/ true , installer ) ;
1529
1529
projectService . openClientFile ( file1 . path ) ;
1530
1530
1531
- checkNumberOfProjects ( projectService , { configuredProjects : 1 } )
1531
+ checkNumberOfProjects ( projectService , { configuredProjects : 1 } ) ;
1532
1532
const p = projectService . configuredProjects [ 0 ] ;
1533
1533
checkProjectActualFiles ( p , [ file1 . path ] ) ;
1534
1534
@@ -1539,7 +1539,7 @@ namespace ts {
1539
1539
host . createFileOrFolder ( jquery , /*createParentDirectory*/ true ) ;
1540
1540
return [ "jquery/jquery.d.ts" ] ;
1541
1541
} ) ;
1542
- checkNumberOfProjects ( projectService , { configuredProjects : 1 } )
1542
+ checkNumberOfProjects ( projectService , { configuredProjects : 1 } ) ;
1543
1543
checkProjectActualFiles ( p , [ file1 . path , jquery . path ] ) ;
1544
1544
} ) ;
1545
1545
} ) ;
0 commit comments