You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/checker.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1142,7 +1142,7 @@ namespace ts {
1142
1142
}
1143
1143
for (const id in lookupTable) {
1144
1144
const { exportsWithDuplicate } = lookupTable[id];
1145
-
// It's not an error if the file with multiple export *'s with duplicate names exports a member with that name itself
1145
+
// Its not an error if the file with multiple export *'s with duplicate names exports a member with that name itself
1146
1146
if (id === "export=" || !exportsWithDuplicate.length || id in symbols) {
1147
1147
continue;
1148
1148
}
@@ -14079,10 +14079,10 @@ namespace ts {
14079
14079
if (id === "__export") {
14080
14080
continue;
14081
14081
}
14082
-
const exportedSymbol = exports[id];
14083
-
// 15.2.1.1 It is a Syntax Error if the ExportedNames of ModuleItemList contains any duplicate entries. (TS Exceptions: namespaces, function overloads, enums, and interfaces)
// ECMA262: 15.2.1.1 It is a Syntax Error if the ExportedNames of ModuleItemList contains any duplicate entries. (TS Exceptions: namespaces, function overloads, enums, and interfaces)
0 commit comments