export type Prettify = Type extends Function ? Type : Extract<{ [Key in keyof Type]: Type[Key]; }, Type>;