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 '{ (onfulfilled?: ((value: number) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined): Promise<...>; (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 '{(onfulfilled?: ((value: number) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined): Promise<...>; (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