Typescript String Is Not A Functional Group