Typescript Iterate Through Array Javascript Documentation Generator