ts2393: duplicate function implementation how to fix code example Example: duplicate function implementation export { } //put it at the top of the ts file