Type alias PromiseReject

PromiseReject: ((reason?) => void) & {}

Type definition of function used to reject a promise

Type declaration

    • (reason?): void
    • Parameters

      • Optional reason: string

      Returns void

Type declaration

    Generated using TypeDoc