GameMap is the class where I stored all the logic that ties the declaration of a Tiled map (in JSON) to the actual map logic.
During this period I had a serious issue with circular dependencies. My build script was detecting many of those and couldn't compile the code. I had to do some painful research but in the end I managed to understand many ways in which I can build a TypeScript project and how to use the ES modules in the right way.
Here is the full video logs: