Get keys of object type
What's the easiest way to get the keys of an object type, and perhaps also some metadata for it? I see there's an
keyof() method, but it has plenty of methods itself so I'm not sure what to use.