Ever since the upgrade to Angular 18, it seems like the node package automapper-ts has stopped functioning properly.
When attempting to set up Automapper in the global context, the issue arises where app
is undefined, resulting in the failure to resolve the Reference to the Angular App. Has anyone encountered a similar problem?
automapper.js
var automapper = (function (app) {
app.automapper = AutoMapperJs.AutoMapper.getInstance(); <--- ERROR
return app.automapper;
})(this);