File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -8334,7 +8334,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
8334
8334
if (getEmitModuleResolutionKind(compilerOptions) === ModuleResolutionKind.Node16 || getEmitModuleResolutionKind(compilerOptions) === ModuleResolutionKind.NodeNext) {
8335
8335
// We might be able to write a portable import type using a mode override; try specifier generation again, but with a different mode set
8336
8336
const swappedMode = contextFile?.impliedNodeFormat === ModuleKind.ESNext ? ModuleKind.CommonJS : ModuleKind.ESNext;
8337
- specifier = getSpecifierForModuleSymbol (chain[0], context, swappedMode);
8337
+ specifier = getSpecifierForModuleSymbolSpecial (chain[0], context, swappedMode);
8338
8338
8339
8339
if (specifier.includes("/node_modules/")) {
8340
8340
// Still unreachable :(
You can’t perform that action at this time.
0 commit comments