Typescript Change Value In Array Of Strings In C