Typescript Turn String To Array