mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-13 17:45:56 -05:00
Fix isExternalLibraryImport for classic resolution (#51840)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user