← Code LabTypeScript0/50 solved · 0%
Types · medium

24. keyof Operator

Extract keys of an object type.

Write `getProperty(obj, key)` using `keyof` to ensure `key` is valid.
Required in your answer: keyof TT[K]