/** * alias for keyof T */ export type Keyof = T extends { [s in infer K]: any; } ? K : keyof T;