Skip to content

Commit 232ca7a

Browse files
brandonrobertsMikeRyanDev
authored andcommitted
fix(store): Add deprecation notice for select instance operator
1 parent fd3da16 commit 232ca7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/store/src/store.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export class Store<T> extends Observable<T> implements Observer<Action> {
1919
this.source = state$;
2020
}
2121

22+
/**
23+
* @deprecated from 6.1.0. Use the pipeable `select` operator instead.
24+
*/
2225
select<K>(mapFn: (state: T) => K): Observable<K>;
2326
select<a extends keyof T>(key: a): Observable<T[a]>;
2427
select<a extends keyof T, b extends keyof T[a]>(

0 commit comments

Comments
 (0)