microsoft / redux-dynamic-modules

Modularize Redux by dynamically loading reducers and middlewares.
https://redux-dynamic-modules.js.org
MIT License
1.07k stars 116 forks source link

Module type with sagas? #83

Closed Ventajou closed 5 years ago

Ventajou commented 5 years ago

When declaring a module with sagas, TypeScript complains that IModule doesn't match. Is there another interface I can use or should I just return a plain object?

abettadapur commented 5 years ago

You can import iSagaModule from the saga package