force import · Issue #596 · microsoft/TypeScript (original) (raw)

I have many scenarios where I would do this:

import myExternalModule = require("./myExternalModule"); // not using myExternalModule here

I dont use myExternalModule in my code but still I want it to be included using requirejs. I just need it to be there.
If there could be a forceimport keyword that would be very cool!