Typescript Mapped Type Array Javascript Append Text