Skip to content

Commit a83195e

Browse files
docs(store): depreate createFeatureSelector with state
1 parent 20afb21 commit a83195e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/store/src/selector.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,9 @@ export function createSelectorFactory(
742742
export function createFeatureSelector<T>(
743743
featureName: string
744744
): MemoizedSelector<object, T>;
745+
/**
746+
* @deprecated Feature selectors with a root state are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/3179 Github Issue}
747+
*/
745748
export function createFeatureSelector<T, V>(
746749
featureName: keyof T
747750
): MemoizedSelector<T, V>;

0 commit comments

Comments
 (0)