Skip to content

Commit b75ccb1

Browse files
committed
accept baselines
1 parent 3416e91 commit b75ccb1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

tests/baselines/reference/api/typescript.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)