(
onFulfilled?:
| ((value: T) => TResult1 | PromiseLike<TResult1>)
| undefined
| null,
onRejected?:
| ((reason: unknown) => TResult2 | PromiseLike<TResult2>)
| undefined
| null,
)
| 48 | |
| 49 | // eslint-disable-next-line unicorn/no-thenable |
| 50 | then<TResult1 = T, TResult2 = never>( |
| 51 | onFulfilled?: |
| 52 | | ((value: T) => TResult1 | PromiseLike<TResult1>) |
| 53 | | undefined |
| 54 | | null, |
| 55 | onRejected?: |
| 56 | | ((reason: unknown) => TResult2 | PromiseLike<TResult2>) |
| 57 | | undefined |
| 58 | | null, |
| 59 | ): Promise<TResult1 | TResult2> { |
| 60 | return this._promise.then(onFulfilled, onRejected); |
| 61 | } |
| 62 | |
| 63 | catch<TResult>( |
| 64 | onRejected?: |
no outgoing calls
no test coverage detected