After updating to Angular 18 the node package automapper-ts is no longer working.
When trying to register Automapper in global context, app
is undefined, thus the Reference to the Angular App cannot be resolved. Anyone the same prob?
automapper.js
var automapper = (function (app) {
app.automapper = AutoMapperJs.AutoMapper.getInstance(); <--- ERROR
return app.automapper;
})(this);
automapper.js
file integrated into the Angular app?window
?app
should be working no matter what version is used, maybe something how it is initialized changed, would like to know what and how