Type of all keys. To get the keys of an object or array, use the keyof keyword. This is just a convenient type as keyof any is not obvious.
keyof
keyof any
Type of all keys. To get the keys of an object or array, use the
keyofkeyword. This is just a convenient type askeyof anyis not obvious.