diff --git a/modules/entity/src/models.ts b/modules/entity/src/models.ts index a389e5069c..1b57835d5f 100644 --- a/modules/entity/src/models.ts +++ b/modules/entity/src/models.ts @@ -73,7 +73,7 @@ export type EntitySelectors = { selectEntities: (state: V) => Dictionary; selectAll: (state: V) => T[]; selectTotal: (state: V) => number; - selectById: (state: V) => T; + selectById: (id: string | number) => (state: V) => T; }; export interface EntityAdapter extends EntityStateAdapter {