I am in possession of an interface that holds keys of various types, and I am interested in creating a new type based on the types of those keys.
interface SomeType {
abc: string;
def: number;
ghi: boolean;
}
The type I want to create:
type SomeOtherType = string | number | boolean
Can this be achieved in TypeScript?