daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest May 16th, 2018 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { createSelector } from '@ngrx/store';
  2. import { State } from './reducer.ts';
  3.  
  4. export const selectTodosCount = createSelector((state: State): number => {
  5.   return Object.keys(state).length;
  6. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top