You can use an asynchronous IIFE inside the callback, like this:
process.on("uncaughtException", (error: Error) => {
(async () => {
await this.errorHandler(error);
// ...
})();
});
This ensures that the implicit return of the callback remains undefined, rather than being a promise.