Commit b390ef5
fix(Effects): Remove toPayload utility function (#738)
BREAKING CHANGE: The utility function `toPayload`, deprecated in @ngrx/effects v4.0, has been removed.
Before:
```ts
import { toPayload } from '@ngrx/effects';
actions$.ofType('SOME_ACTION').map(toPayload);
```
After:
```ts
actions$.ofType('SOME_ACTION').map((action: SomeActionWithPayload) => action.payload)
```1 parent 317fb94 commit b390ef5
2 files changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
This file was deleted.
0 commit comments