Default Generic Parameters in TypeScript

Learn how to use default type parameters in TypeScript to make generic types more ergonomic without sacrificing type safety, with real-world examples.