TypeScript · Type Inference · Mid-Level · Concept
as const assertion effects?
Short Interview Answer
Narrows to literal types and makes tuples/readonly deeply for literals.
Detailed Explanation
Unlocks discriminated unions and template literal precision.