Promise catch error parameter should not be of type any. · Issue #6283 · microsoft/TypeScript

Is there any chance, you could change the any type on error parameter on the catch method of a Promise, to a type argument instead? The type argument is provided in the Promise<R, E> type annotatio...</r,>