-
-
Notifications
You must be signed in to change notification settings - Fork 679
Merge broken after upgrade to 5.4.2 #1342
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
The change comes from this PR: #1327
Before, you could do:
type C = Merge<A, B>;
declare let a: A;
declare let b: B;
let c: C = { ...a, ...b }After the update, this fails with Type 'A & B' is not assignable to type 'Merge<...>.
Couldn't reproduce it in the playground.
Repro
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working