Skip to content

Commit

Permalink
Update story.selectors.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
david-shortman committed Jul 10, 2021
1 parent 3265126 commit 4cabfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/data-example-app/src/state/story.selectors.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createSelector } from '@ngrx/store';
import { Stories, Story } from './story';

export const selectStories = createSelector<Story[], Story[], Story[][]>(
export const selectStories = createSelector<Story[], [Story[]], Story[][]>(
(stories) => stories,
(stories: Stories) =>
stories.reduce<Stories[]>(
Expand Down

0 comments on commit 4cabfa1

Please sign in to comment.