Reduce Function In Array Typescript Documentation Comments