d9494a5
1
2
3
4
export const mapById = <T extends { id: string }>(itemToMap: T) => { return itemToMap.id; };