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
Why can heavily distributive/deeply nested conditional types slow down tsc's type-checking on large codebases?
A
They don't affect compile time at all
B
Distribution and deep conditional evaluation require real computational work at compile time, proportional to the union's size and nesting depth — a genuine build-time cost
C
They only affect runtime performance
D
TypeScript caches all conditional type results permanently, so there's never a cost
Check Answer