You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From version 0.6.0 I am getting errors on function that returns union of promises.
This expression is not callable.
Each member of the union type '{ <TResult1 = number, TResult2 = never>(onfulfilled?: ((value: number) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined): Promise<...>; <TResult1 = number, TResult2 = never>(onfulfilled?: ((value: number) => TResult1 | PromiseLike...' has signatures, but none of those signatures are compatible with each other.typescript(2349)
probably related to: ts-reset/dist/promise-catch.d.ts
Hello,
From version 0.6.0 I am getting errors on function that returns union of promises.
This expression is not callable.
Each member of the union type '{ <TResult1 = number, TResult2 = never>(onfulfilled?: ((value: number) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined): Promise<...>; <TResult1 = number, TResult2 = never>(onfulfilled?: ((value: number) => TResult1 | PromiseLike...' has signatures, but none of those signatures are compatible with each other.typescript(2349)
probably related to: ts-reset/dist/promise-catch.d.ts
here is url, where issue is recreated:
https://codesandbox.io/p/sandbox/4lnj2q
The text was updated successfully, but these errors were encountered: