build duplicate function implementation code example Example: duplicate function implementation export { } //put it at the top of the ts file