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…
Reference in a new issue