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