There was a built-in type that I used in the past which represented the union of all possible object keys. It was named objectKey
or something similar.
Here is an example:
type objectKey = string | number | symbol
Unfortunately, I am drawing a blank on the exact name now. Can anyone help jog my memory?