How to Use the `keyof` Type Operator in TypeScript

Exploring the `keyof` type operator and its use with generic functions