Type Alias RejectPromiseHandler

RejectPromiseHandler: ((reason?: any) => void)

Defines the signature of the reject function passed to the resolverFunc (in the Promise constructor)

Type declaration

    • (reason?): void
    • Parameters

      • Optionalreason: any

        The reason to reject the Promise with

      Returns void

      Nothing