Promisify a function type.
Function type to promisify
Wraps a function's return type in a Promise, preserving argument types. Will result in never if input is not a function.
never
type Fn = ( a: string, b: number ) => boolean;type PromisifiedFn = Promisify< Fn >;// ( a: string, b: number ) => Promise< boolean > Copy
type Fn = ( a: string, b: number ) => boolean;type PromisifiedFn = Promisify< Fn >;// ( a: string, b: number ) => Promise< boolean >
Promisify a function type.