(
onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
onrejected?: ((reason?: any) => TResult2 | PromiseLike<TResult2>) | null,
)
| 45 | }); |
| 46 | |
| 47 | then<TResult1 = T, TResult2 = never>( |
| 48 | onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, |
| 49 | onrejected?: ((reason?: any) => TResult2 | PromiseLike<TResult2>) | null, |
| 50 | ): Promise<TResult1 | TResult2> { |
| 51 | return this._promise.then(onfulfilled, onrejected); |
| 52 | } |
| 53 | catch<TResult = never>( |
| 54 | onrejected?: ((reason?: any) => TResult | PromiseLike<TResult>) | null, |
| 55 | ): Promise<T | TResult> { |
no outgoing calls
no test coverage detected