export type Promisify = T extends PromiseLike ? T : Promise; export type UnPromisefy = T extends PromiseLike ? UnPromisefy : T;