TypeScript: adjusting types in reduce function with an async callback
Debugging type confusion in an async callback.
Tags: typescript, reduce, async, promises