I\'m currently working on a project with some legacy javascript. The application does not include a module loader, it just puts everything as a global into the window object. To
That's not actually true that you can't import modules. You can do a few things to import modules in this scenario:
"target": "es6", you can leave "module": "none"` in place and your imports will work just fine."module": "none" to "module": "commonjs" and add "moduleResolution": "node" - this will provide a means to handle imports in ES5 syntax.