Skip to content

Commit 177efea

Browse files
committed
Update tests baselines
1 parent bf567b8 commit 177efea

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,7 @@ declare namespace ts {
25812581
}
25822582
interface UpToDateHost {
25832583
fileExists(fileName: string): boolean;
2584-
getModifiedTime(fileName: string): Date;
2584+
getModifiedTime(fileName: string): Date | undefined;
25852585
getUnchangedTime?(fileName: string): Date | undefined;
25862586
getLastStatus?(fileName: string): UpToDateStatus | undefined;
25872587
setLastStatus?(fileName: string, status: UpToDateStatus): void;
@@ -2685,7 +2685,7 @@ declare namespace ts {
26852685
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[], containingFile: string): ResolvedTypeReferenceDirective[];
26862686
getEnvironmentVariable?(name: string): string | undefined;
26872687
createHash?(data: string): string;
2688-
getModifiedTime?(fileName: string): Date;
2688+
getModifiedTime?(fileName: string): Date | undefined;
26892689
setModifiedTime?(fileName: string, date: Date): void;
26902690
deleteFile?(fileName: string): void;
26912691
}
@@ -3022,7 +3022,7 @@ declare namespace ts {
30223022
getCurrentDirectory(): string;
30233023
getDirectories(path: string): string[];
30243024
readDirectory(path: string, extensions?: ReadonlyArray<string>, exclude?: ReadonlyArray<string>, include?: ReadonlyArray<string>, depth?: number): string[];
3025-
getModifiedTime?(path: string): Date;
3025+
getModifiedTime?(path: string): Date | undefined;
30263026
setModifiedTime?(path: string, time: Date): void;
30273027
deleteFile?(path: string): void;
30283028
/**

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,7 +2581,7 @@ declare namespace ts {
25812581
}
25822582
interface UpToDateHost {
25832583
fileExists(fileName: string): boolean;
2584-
getModifiedTime(fileName: string): Date;
2584+
getModifiedTime(fileName: string): Date | undefined;
25852585
getUnchangedTime?(fileName: string): Date | undefined;
25862586
getLastStatus?(fileName: string): UpToDateStatus | undefined;
25872587
setLastStatus?(fileName: string, status: UpToDateStatus): void;
@@ -2685,7 +2685,7 @@ declare namespace ts {
26852685
resolveTypeReferenceDirectives?(typeReferenceDirectiveNames: string[], containingFile: string): ResolvedTypeReferenceDirective[];
26862686
getEnvironmentVariable?(name: string): string | undefined;
26872687
createHash?(data: string): string;
2688-
getModifiedTime?(fileName: string): Date;
2688+
getModifiedTime?(fileName: string): Date | undefined;
26892689
setModifiedTime?(fileName: string, date: Date): void;
26902690
deleteFile?(fileName: string): void;
26912691
}
@@ -3022,7 +3022,7 @@ declare namespace ts {
30223022
getCurrentDirectory(): string;
30233023
getDirectories(path: string): string[];
30243024
readDirectory(path: string, extensions?: ReadonlyArray<string>, exclude?: ReadonlyArray<string>, include?: ReadonlyArray<string>, depth?: number): string[];
3025-
getModifiedTime?(path: string): Date;
3025+
getModifiedTime?(path: string): Date | undefined;
30263026
setModifiedTime?(path: string, time: Date): void;
30273027
deleteFile?(path: string): void;
30283028
/**

0 commit comments

Comments
 (0)