error TS2393: Duplicate function implementation. code example Example: duplicate function implementation export { } //put it at the top of the ts file