export const mapById = (itemToMap: T) => { return itemToMap.id; };