Skip to content

Commit 8ff2c1a

Browse files
committed
Fixed linting error
1 parent d01d5b1 commit 8ff2c1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2031,7 +2031,7 @@ namespace ts {
20312031
// - noResolve is falsy
20322032
// - module name comes from the list of imports
20332033
// - it's not a top level JavaScript module that exceeded the search max
2034-
let isJsFileUnderNodeModules = resolution && resolution.isExternalLibraryImport &&
2034+
const isJsFileUnderNodeModules = resolution && resolution.isExternalLibraryImport &&
20352035
hasJavaScriptFileExtension(resolution.resolvedFileName);
20362036
if (isJsFileUnderNodeModules) {
20372037
currentNodeModulesJsDepth++;

0 commit comments

Comments
 (0)