Skip to content

Commit e38ed65

Browse files
committed
Add changeset
1 parent ec54e9a commit e38ed65

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/hot-gorillas-repair.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@arethetypeswrong/core": patch
3+
---
4+
5+
Fix false positive MissingExportEquals that can occur when `--moduleResolution bundler` resolves to ESM JS

packages/core/src/internal/checks/exportDefaultDisagreement.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export default defineCheck({
115115
};
116116
}
117117

118+
// TODO: does not account for export *
118119
const typesHaveNonDefaultValueExport = Array.from(typesSourceFile.symbol.exports.values()).some((s) => {
119120
if (s.escapedName === "default") {
120121
return false;

0 commit comments

Comments
 (0)