Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { createSelector } from '@ngrx/store';
- import { State } from './reducer.ts';
- export const selectTodosCount = createSelector((state: State): number => {
- return Object.keys(state).length;
- });
Add Comment
Please, Sign In to add comment