The question is can enum be used as a key type instead of only \"number\" or \"string\" ? Currently it seems like the only possible declaration is x:{[key:number]:any} where key
For those who are seeking for a way to get the keys of the enum instead its value, you just need to change from this:
keys
enum
value
type myType = Partial>;
to that: