Type A is not assignable to type A & B & C. Not sure why ts infers with an `&` and not `|`

The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
Was this page helpful?