I have a file named listener.ts which has the following code.
import eventEmitter from './event';
eventEmitter.on('error', () => true); // TODO: Include calling of Bugsnag on callback.
I want to execute code of listener.ts file on starting up in main.ts file, without importing anything.
How can i achieve such functionality in Typescript ?.