Typescript Find And Replace Command Not Working