Converting a large Typescript project to ES6 modules
问题 I have a fairly large app (~650 files) that currently has a mixed implementation of ES6 modules and legacy global namespace internal modules and classes. I want to move to 100% ES6 modules. The iterative approach To get there, I need to start by converting all the global objects to ES6 modules by adding the "export" keyword. As soon as I add "export", that global object is no longer global, and each file that uses that object now has a compiler error "object not found"(i.e. Cannot read