File tree Expand file tree Collapse file tree
tests/baselines/reference/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -428,6 +428,14 @@ namespace ts.server {
428428 this . projectService . logger . info ( s ) ;
429429 }
430430
431+ log ( s : string ) {
432+ this . writeLog ( s ) ;
433+ }
434+
435+ error ( s : string ) {
436+ this . projectService . logger . msg ( s , Msg . Err ) ;
437+ }
438+
431439 private setInternalCompilerOptionsForEmittingJsFiles ( ) {
432440 if ( this . projectKind === ProjectKind . Inferred || this . projectKind === ProjectKind . External ) {
433441 this . compilerOptions . noEmitForJsFiles = true ;
Original file line number Diff line number Diff line change @@ -7500,6 +7500,8 @@ declare namespace ts.server {
75007500 resolveTypeReferenceDirectives ( typeDirectiveNames : string [ ] , containingFile : string ) : ResolvedTypeReferenceDirective [ ] ;
75017501 directoryExists ( path : string ) : boolean ;
75027502 getDirectories ( path : string ) : string [ ] ;
7503+ log ( s : string ) : void ;
7504+ error ( s : string ) : void ;
75037505 private setInternalCompilerOptionsForEmittingJsFiles ( ) ;
75047506 /**
75057507 * Get the errors that dont have any file name associated
You can’t perform that action at this time.
0 commit comments