From 97365b0cd8c7c0043089bfaefd2162d3a6bc536d Mon Sep 17 00:00:00 2001 From: Mike Ryan Date: Mon, 26 Sep 2016 19:11:17 -0500 Subject: [PATCH] feat(toPayload): Bring back toPayload helper function --- src/util.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/util.ts diff --git a/src/util.ts b/src/util.ts new file mode 100644 index 0000000..49f1d50 --- /dev/null +++ b/src/util.ts @@ -0,0 +1,6 @@ +import { Action } from '@ngrx/store'; + + +export function toPayload(action: Action) { + return action.payload; +}