Skip to content

Commit 6ac885c

Browse files
committed
fix types
1 parent 8a79fec commit 6ac885c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/moduleNameResolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ function loadFileName(extensions: Extensions, candidate: string, onlyRecordFailu
18831883

18841884
if (state.isConfigLookup && extensions === Extensions.Json && fileExtensionIs(candidate, Extension.Json)) {
18851885
const result = tryFile(candidate, onlyRecordFailures, state);
1886-
return result !== undefined ? { path: candidate, ext: Extension.Json } : undefined;
1886+
return result !== undefined ? { path: candidate, ext: Extension.Json, resolvedUsingTsExtension: undefined } : undefined;
18871887
}
18881888

18891889
return loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state);

0 commit comments

Comments
 (0)