Fix “Would Overwrite Input File” in TypeScript | CodeTrail