QuizAdvanced
Key Remapping with as
Renaming keys in a mapped type using the as clause.
What keys result from `type G<T> = { [K in keyof T as `get${Capitalize<string & K>}`]: T[K] }` for `T = { name: string }`?
Renaming keys in a mapped type using the as clause.
What keys result from `type G<T> = { [K in keyof T as `get${Capitalize<string & K>}`]: T[K] }` for `T = { name: string }`?