Fix isExternalLibraryImport for classic resolution (#51840)
This commit is contained in:
Родитель
4978b3ebeb
Коммит
9d7df99414
|
@ -2842,7 +2842,7 @@ export function classicNameResolver(moduleName: string, containingFile: string,
|
|||
// No originalPath because classic resolution doesn't resolve realPath
|
||||
return createResolvedModuleWithFailedLookupLocations(
|
||||
resolved && resolved.value,
|
||||
/*isExternalLibraryImport*/ false,
|
||||
resolved?.value && pathContainsNodeModules(resolved.value.path),
|
||||
failedLookupLocations,
|
||||
affectingLocations,
|
||||
diagnostics,
|
||||
|
|
Загрузка…
Ссылка в новой задаче