File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,14 @@ module Harness.LanguageService {
207
207
return this . cancellationToken ;
208
208
}
209
209
210
+ public getCurrentDirectory ( ) : string {
211
+ return "" ;
212
+ }
213
+
214
+ public getDefaultLibFilename ( ) : string {
215
+ return "" ;
216
+ }
217
+
210
218
public getScriptFileNames ( ) : string {
211
219
var fileNames : string [ ] = [ ] ;
212
220
ts . forEachKey ( this . fileNameToScript , ( fileName ) => { fileNames . push ( fileName ) ; } ) ;
Original file line number Diff line number Diff line change @@ -417,6 +417,8 @@ module ts {
417
417
getScriptSnapshot ( fileName : string ) : TypeScript . IScriptSnapshot ;
418
418
getLocalizedDiagnosticMessages ( ) : any ;
419
419
getCancellationToken ( ) : CancellationToken ;
420
+ getCurrentDirectory ( ) : string ;
421
+ getDefaultLibFilename ( ) : string ;
420
422
}
421
423
422
424
//
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ module ts {
53
53
getScriptSnapshot ( fileName : string ) : ScriptSnapshotShim ;
54
54
getLocalizedDiagnosticMessages ( ) : string ;
55
55
getCancellationToken ( ) : CancellationToken ;
56
+ getCurrentDirectory ( ) : string ;
57
+ getDefaultLibFilename ( ) : string ;
56
58
}
57
59
58
60
//
@@ -365,6 +367,14 @@ module ts {
365
367
public getCancellationToken ( ) : CancellationToken {
366
368
return this . shimHost . getCancellationToken ( ) ;
367
369
}
370
+
371
+ public getDefaultLibFilename ( ) : string {
372
+ return this . shimHost . getDefaultLibFilename ( ) ;
373
+ }
374
+
375
+ public getCurrentDirectory ( ) : string {
376
+ return this . shimHost . getCurrentDirectory ( ) ;
377
+ }
368
378
}
369
379
370
380
function simpleForwardCall ( logger : Logger , actionDescription : string , action : ( ) => any ) : any {
You can’t perform that action at this time.
0 commit comments