This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Description
I'm trying to get this working with a project i'm working on that uses Typescript 2.4. I'm seeing this issue:
import { connect } from 'react-redux';
import { assemble, withHandlers } from 'reassemble';
...
const enhance = assemble(
connect(null, mapDispatchToProps),
withHandlers({
onClick: ({counter, setCounter}) => setCounter(counter + 1)
})
);
There's an error on withHandlers:
Argument of type 'Composable' is not assignable to parameter of type 'ComponentCallbacks'.
Type 'ComponentCallbacks[]' has no properties in common with type 'ComponentCallbacks'.
Am I just missing something?