fix(action/tsconfig): noEmit + exclude dist to silence editor TS5055

action/tsconfig.json had "exclude": [] (overriding the default outDir
exclusion) and unset noEmit, so tsserver pulled action/dist/**/*.d.ts
into the program and flagged 92 TS5055 errors ("Cannot write file ...
.d.ts because it would overwrite input file") any time dist/ existed.
the CLI typecheck script passes --noEmit so it never tripped — only the
editor was affected.

emit is owned by tsconfig.exports.json, which extends this one and
overrides noEmit: false, emitDeclarationOnly: true. so the main config
is editor/typecheck only and should declare noEmit: true.
This commit is contained in:
Colin McDonnell
2026-05-14 17:11:03 +00:00
committed by pullfrog[bot]
parent 5abb3072c7
commit 3add2cbc49
+3 -2
View File
@@ -19,7 +19,8 @@
"forceConsistentCasingInFileNames": true,
"stripInternal": true,
"moduleDetection": "force",
"useUnknownInCatchVariables": true
"useUnknownInCatchVariables": true,
"noEmit": true
},
"exclude": []
"exclude": ["dist"]
}