TypeScript Associate — Hard
Key points
- A and B are assigned the same conditional type IsString
- A evaluates to true because it extends string
- B is a boolean due to the distribution over the union
Ready to go further?
Related questions
TypeScript Associate — Hard
Key points
Ready to go further?
Related questions