import createActionBuffer from 'redux-action-buffer'
createActionBuffer is not a default export though (it is exported directly through module.exports), so TypeScript complains. Babel copes with it as it seems to be more permissive.
We could either introduce a transpiler, or mimic what Babel does with default exports currently:
In the docs you show the following:
createActionBuffer
is not a default export though (it is exported directly throughmodule.exports
), so TypeScript complains. Babel copes with it as it seems to be more permissive.We could either introduce a transpiler, or mimic what Babel does with default exports currently:
What do you think?