8000
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 98fd75d commit 835950aCopy full SHA for 835950a
src/compiler/checker.ts
@@ -1153,7 +1153,7 @@ namespace ts {
1153
for (const id in lookupTable) {
1154
const { exportsWithDuplicate } = lookupTable[id];
1155
// It's not an error if the file with multiple `export *`s with duplicate names exports a member with that name itself
1156
- if (id === "export=" || !exportsWithDuplicate.length || hasProperty(symbols, id)) {
+ if (id === "export=" || !(exportsWithDuplicate && exportsWithDuplicate.length) || hasProperty(symbols, id)) {
1157
continue;
1158
}
1159
for (const node of exportsWithDuplicate) {
0 commit comments