()
| 19 | const hoc: HOC<{ onClick(): void }> = connect(dispatch => { |
| 20 | return { |
| 21 | onClick() { |
| 22 | dispatch({ type: 'INCREMENT' }) |
| 23 | // @ts-expect-error |
| 24 | dispatch(Promise.resolve({ type: 'INCREMENT' })) |
| 25 | // @ts-expect-error |
| 26 | dispatch('not-an-action') |
| 27 | } |
| 28 | } |
| 29 | }) |
| 30 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…