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
easy
TypeScript
What does the `infer` keyword do inside a conditional type?
A
It disables type-checking for that branch
B
It introduces a new type variable, captured from whatever the checked type actually matches at that position
C
It converts a type to a string
D
It's only usable with array types
Check Answer