create a generic type that capitalizes the property names of its type parameter in TypeScript

TypeScript
🤖 Code Explanation
The code defines a function that capitalizes the first letter of each key in an object, returning the new object.

More problems solved in TypeScript
















