TypeScript TypeScript const Type Parameters: Inference That Stays Literal const type parameters (TypeScript 5.0): when T extends readonly any[] infers tuples of literals, and how that replaces as const on every call. Sep 5, 20261 min read Read →