Skip to content

Commit 54fa69c

Browse files
authored
Fix API under exactOptionalPropertyTypes (#48505)
1 parent 9153eaa commit 54fa69c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6613,7 +6613,7 @@ namespace ts {
66136613
realpath?(path: string): string;
66146614
getCurrentDirectory?(): string;
66156615
getDirectories?(path: string): string[];
6616-
useCaseSensitiveFileNames?: boolean | (() => boolean);
6616+
useCaseSensitiveFileNames?: boolean | (() => boolean) | undefined;
66176617
}
66186618

66196619
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3164,7 +3164,7 @@ declare namespace ts {
31643164
realpath?(path: string): string;
31653165
getCurrentDirectory?(): string;
31663166
getDirectories?(path: string): string[];
3167-
useCaseSensitiveFileNames?: boolean | (() => boolean);
3167+
useCaseSensitiveFileNames?: boolean | (() => boolean) | undefined;
31683168
}
31693169
/**
31703170
* Used by services to specify the minimum host area required to set up source files under any compilation settings

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3164,7 +3164,7 @@ declare namespace ts {
31643164
realpath?(path: string): string;
31653165
getCurrentDirectory?(): string;
31663166
getDirectories?(path: string): string[];
3167-
useCaseSensitiveFileNames?: boolean | (() => boolean);
3167+
useCaseSensitiveFileNames?: boolean | (() => boolean) | undefined;
31683168
}
31693169
/**
31703170
* Used by services to specify the minimum host area required to set up source files under any compilation settings

0 commit comments

Comments
 (0)