literal types
-
Solved: Is there a straight way to widen inferred literal types of TypeScript generics?
Learn three practical ways to widen overly-specific literal types inferred by TypeScript generics, from a simple annotation to a reusable utility type Continue reading