I have this error that only shows when lines 13-28 of projectCasesByGeneSlice.ts are uncommented.

projectCasesByGeneSlice.ts:

constants.ts:

tsconfig.json:

Thank you for your time to take a look, any guidance/support is greatly appreciated. I enjoy these technologies and they're great on their own, but I think it could be very clean solution to combine them this way. I'm just not sure if its totally necessary to setup webpack or maybe add some configs to the existing rollup. any thoughts/suggestions please