Skip to content

Commit

Permalink
feat(router-store): convert RouterStateSelectors interface to type
Browse files Browse the repository at this point in the history
  • Loading branch information
markostanimirovic committed Apr 20, 2023
1 parent ccf6b56 commit 59f2c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/router-store/src/models.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Data, Params } from '@angular/router';
import { MemoizedSelector } from '@ngrx/store';

export interface RouterStateSelectors<V> {
export type RouterStateSelectors<V> = {
selectCurrentRoute: MemoizedSelector<V, any>;
selectFragment: MemoizedSelector<V, string | undefined>;
selectQueryParams: MemoizedSelector<V, Params>;
Expand All @@ -14,4 +14,4 @@ export interface RouterStateSelectors<V> {
) => MemoizedSelector<V, string | undefined>;
selectUrl: MemoizedSelector<V, string>;
selectTitle: MemoizedSelector<V, string | undefined>;
}
};

0 comments on commit 59f2c46

Please sign in to comment.