Type Alias CallbackOrPromise

CallbackOrPromise:
    | TypedFunction<[], MaybePromise<any>>
    | TypedFunction<[], Promise<any>>
    | TypedFunction<[], any>
    | Promise<any>

Allowed inputs for asserting if something throws.