daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest May 16th, 2018 93 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
Top