Simple immer-base function to be used in NgRx Store or ComponentStore for transforming data "mutably"
Better types when extracting the keys and entries from an Object or an Enum