| 10 | } |
| 11 | |
| 12 | export interface EpicMiddleware< |
| 13 | T extends Action, |
| 14 | O extends T = T, |
| 15 | S = void, |
| 16 | D = any |
| 17 | // eslint-disable-next-line @typescript-eslint/ban-types |
| 18 | > extends Middleware<{}, S, Dispatch<any>> { |
| 19 | run(rootEpic: Epic<T, O, S, D>): void; |
| 20 | } |
| 21 | |
| 22 | export function createEpicMiddleware< |
| 23 | T extends Action, |
no outgoing calls
no test coverage detected
searching dependent graphs…