Typescript Type For Array Javascript Append To String