We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2836c17 commit 566c0dbCopy full SHA for 566c0db
src/compiler/checker.ts
@@ -1028,7 +1028,7 @@ namespace ts {
1028
1029
// Module names are escaped in our symbol table. However, string literal values aren't.
1030
// Escape the name in the "require(...)" clause to ensure we find the right symbol.
1031
- let moduleName = escapeIdentifier(moduleReferenceLiteral.text);
+ const moduleName = escapeIdentifier(moduleReferenceLiteral.text);
1032
1033
if (moduleName === undefined) {
1034
return;
0 commit comments