PromiseResolve<T>
A type representing a function that resolves a Promise.
Import:
import type { PromiseResolve } from '@mnaoumov/typescript-lib/async';Signature:
export type PromiseResolve<T>Signature:
type PromiseResolve<T> = undefined extends T ? (value?: PromiseLike<T> | T) => void : (value: PromiseLike<T> | T) => voidType: undefined extends T ? (value?: PromiseLike<T> | T) => void : (value: PromiseLike<T> | T) => void