Duplicate Function Implementation Error Typescript

Duplicate Function Implementation Error Typescript