Typescript Declare Array Of Type String Is Not Assignable To Type