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; +}