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 @@ -1592,8 +1592,8 @@ declare namespace ts {
15921592 }
15931593 interface ScriptReferenceHost {
15941594 getCompilerOptions ( ) : CompilerOptions ;
1595- getSourceFile ( fileName : string ) : SourceFile ;
1596- getSourceFileByPath ( path : Path ) : SourceFile ;
1595+ getSourceFile ( fileName : string ) : SourceFile | undefined ;
1596+ getSourceFileByPath ( path : Path ) : SourceFile | undefined ;
15971597 getCurrentDirectory ( ) : string ;
15981598 }
15991599 interface ParseConfigHost {
Original file line number Diff line number Diff line change @@ -1592,8 +1592,8 @@ declare namespace ts {
15921592 }
15931593 interface ScriptReferenceHost {
15941594 getCompilerOptions ( ) : CompilerOptions ;
1595- getSourceFile ( fileName : string ) : SourceFile ;
1596- getSourceFileByPath ( path : Path ) : SourceFile ;
1595+ getSourceFile ( fileName : string ) : SourceFile | undefined ;
1596+ getSourceFileByPath ( path : Path ) : SourceFile | undefined ;
15971597 getCurrentDirectory ( ) : string ;
15981598 }
15991599 interface ParseConfigHost {
You can’t perform that action at this time.
0 commit comments