Typescript String Is Not A Subtype