DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
TypeScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
TypeScript
What happens when a conditional type with a bare type parameter (T extends U ? X : Y) is given a union as its input?
A
It evaluates the conditional once against the whole union
B
It DISTRIBUTES — evaluating separately for each union member, then unioning the results back together
C
It produces a compile error
D
It always returns the Y branch
Check Answer