mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Fix isExternalLibraryImport for classic resolution (#51840)
This commit is contained in:
parent
4978b3ebeb
commit
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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user