Promise.catch should have a return type of <TResult>, not T. · Issue #3834 · Microsoft/TypeScript

Current implementaiton: interface Promise&lt;T&gt; { then&lt;TResult&gt;(onfulfilled?: (value: T) =&gt; TResult | PromiseLike&lt;TResult&gt;, onrejected?: (reason: any) =&gt; TResult | PromiseL...