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
hard
TypeScript
Calling `tuple("a", 1, true)` where tuple has a plain (non-const) generic signature `<T extends readonly unknown[]>(...args: T): T` infers T as which type?
A
readonly ["a", 1, true] — the exact literal tuple
B
(string | number | boolean)[] — a WIDENED union array, losing the specific literal values and positions
C
any[]
D
This call would fail to compile
Check Answer