AutoMapper
AutoMapper copied to clipboard
Fix automapper initialization in global scope
A fallback is provided (the window
global scope) when this
is not defined.
This happens, for example, when using this library inside an Angular v17 project: providing window
as fallback value preserves the normal behavior of the library in this cases.