mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 20:25:23 -06:00
Fixed linting error
This commit is contained in:
parent
d01d5b1cb2
commit
8ff2c1ad4f
@ -2031,7 +2031,7 @@ namespace ts {
|
||||
// - noResolve is falsy
|
||||
// - module name comes from the list of imports
|
||||
// - it's not a top level JavaScript module that exceeded the search max
|
||||
let isJsFileUnderNodeModules = resolution && resolution.isExternalLibraryImport &&
|
||||
const isJsFileUnderNodeModules = resolution && resolution.isExternalLibraryImport &&
|
||||
hasJavaScriptFileExtension(resolution.resolvedFileName);
|
||||
if (isJsFileUnderNodeModules) {
|
||||
currentNodeModulesJsDepth++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user