We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac03ba4 commit 3af1111Copy full SHA for 3af1111
src/compiler/program.ts
@@ -4986,8 +4986,8 @@ function updateHostForUseSourceOfProjectReferenceRedirect(host: HostForUseSource
4986
4987
function fileOrDirectoryExistsUsingSource(fileOrDirectory: string, isFile: boolean): boolean {
4988
const fileOrDirectoryExistsUsingSource = isFile ?
4989
- (file: string) => fileExistsIfProjectReferenceDts(file) :
4990
- (dir: string) => directoryExistsIfProjectReferenceDeclDir(dir);
+ fileExistsIfProjectReferenceDts :
+ directoryExistsIfProjectReferenceDeclDir;
4991
// Check current directory or file
4992
const result = fileOrDirectoryExistsUsingSource(fileOrDirectory);
4993
if (result !== undefined) return result;
0 commit comments