Skip to content

Commit 900bf75

Browse files
luchillo17timdeschryver
authored andcommitted
fix(data): allow additional selectors in entitySelectors$ (#2332)
1 parent 660b62f commit 900bf75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/data/src/selectors/entity-selectors$.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export interface EntitySelectors$<T> {
2727
/** Name of the entity collection for these selectors$ */
2828
readonly entityName: string;
2929

30+
/** Names from custom selectors from additionalCollectionState fits here, 'any' to avoid conflict with entityName */
31+
readonly [name: string]: Observable<any> | Store<any> | any;
32+
3033
/** Observable of the collection as a whole */
3134
readonly collection$: Observable<EntityCollection> | Store<EntityCollection>;
3235

0 commit comments

Comments
 (0)