(
action: T
)
| 76 | ): [() => JsonFormsCore, Redux.Dispatch<CoreActions>] => { |
| 77 | const coreContainer = { core: initialCore }; |
| 78 | const dispatch: Redux.Dispatch<CoreActions> = <T extends CoreActions>( |
| 79 | action: T |
| 80 | ): T => { |
| 81 | coreContainer.core = coreReducer(coreContainer.core, action); |
| 82 | return action; |
| 83 | }; |
| 84 | const getCore = () => coreContainer.core; |
| 85 | return [getCore, dispatch]; |
| 86 | }; |
no test coverage detected
searching dependent graphs…