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
{{ message }}
Repository navigation
tsc --build false negative through export star facade project #63579
The only compiler option in each project is composite: true.
Actual Behavior
pnpm repro first builds with:
// source/index.tsexporttypeStatus="old";
Then it changes the source project to:
exporttypeStatus="new";
The incremental build incorrectly exits 0.
The facade declaration remains textually unchanged:
export*from"../source/index";
The consumer declaration remains stale:
exportdeclareconststatus: "old";
Expected Behavior
The incremental build should fail like the clean build does:
consumer/index.ts(3,14): error TS2322: Type '"new"' is not assignable to type '"old"'.
Notes
This is not pnpm workspace/package-exports behavior. The repro uses no workspace
packages and no package imports.
#46153 looks related,
but this is a minimal export * facade case where the intermediate project emits
stable declaration text while its re-exported public API changes.
Activity
jakebailey commentedon Jun 30, 2026
Jason Kuhrt (@jasonkuhrt) John Favret (@johnfav03) Is this a 7.0 regression? Or does this reproduce in 6.0?
johnfav03 commentedon Jun 30, 2026
This is not a 7.0 regression, it reproduces in 6.0
johnfav03 commentedon Jul 16, 2026
Fixed in #4301