diff --git a/static/app/stores/groupStore.tsx b/static/app/stores/groupStore.tsx index 11920ee00f60d0..ba000651551882 100644 --- a/static/app/stores/groupStore.tsx +++ b/static/app/stores/groupStore.tsx @@ -150,8 +150,7 @@ const storeConfig: GroupStoreDefinition = { }, mergeItems(items: Item[]) { - const itemsById: Record = items.reduce((acc, item) => { - // @ts-expect-error TS(7053): Element implicitly has an 'any' type because expre... Remove this comment to see the full error message + const itemsById = items.reduce>((acc, item) => { acc[item.id] = item; return acc; }, {}); @@ -189,8 +188,7 @@ const storeConfig: GroupStoreDefinition = { */ addToFront(items) { items = toArray(items); - const itemMap: Record = items.reduce((acc, item) => { - // @ts-expect-error TS(7053): Element implicitly has an 'any' type because expre... Remove this comment to see the full error message + const itemMap = items.reduce>((acc, item) => { acc[item.id] = item; return acc; }, {});