Typescript Property Replaceall Does Not Exist On Type String In C