I have this interface, and I would like to generate a new type from the type of keys it contains.
interface SomeType {
abc: string;
def: number;
ghi: boolean;
}
Type to generate:
type SomeOtherType = string | number | boolean
Is this possible in typescript?