File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -428,6 +428,14 @@ namespace ts.server {
428
428
this . projectService . logger . info ( s ) ;
429
429
}
430
430
431
+ log ( s : string ) {
432
+ this . writeLog ( s ) ;
433
+ }
434
+
435
+ error ( s : string ) {
436
+ this . projectService . logger . msg ( s , Msg . Err ) ;
437
+ }
438
+
431
439
private setInternalCompilerOptionsForEmittingJsFiles ( ) {
432
440
if ( this . projectKind === ProjectKind . Inferred || this . projectKind === ProjectKind . External ) {
433
441
this . compilerOptions . noEmitForJsFiles = true ;
Original file line number Diff line number Diff line change @@ -7500,6 +7500,8 @@ declare namespace ts.server {
7500
7500
resolveTypeReferenceDirectives ( typeDirectiveNames : string [ ] , containingFile : string ) : ResolvedTypeReferenceDirective [ ] ;
7501
7501
directoryExists ( path : string ) : boolean ;
7502
7502
getDirectories ( path : string ) : string [ ] ;
7503
+ log ( s : string ) : void ;
7504
+ error ( s : string ) : void ;
7503
7505
private setInternalCompilerOptionsForEmittingJsFiles ( ) ;
7504
7506
/**
7505
7507
* Get the errors that dont have any file name associated
You can’t perform that action at this time.
0 commit comments