Typescript error - Cannot find module './devtoolsMidleware'
gcox opened this issue · comments
version 4.15.1
When redux-zero
is installed, the devtoolsMidleware.d.ts
file is not included which leads to an error since that file imported by devtoolsMiddleware.d.ts
Is there any particular reason the devtools typings were implemented this way? I'm no expert on typings so I'm sure I'm just missing something.
It is because there are naming conflicts in sources, devtoolsMiddleware.ts
imports devtoolsMiddleware.d.ts
, it is bad
@matheusml need to rename devtoolsMiddleware.d.ts
to something like devtoolsMiddlewareInterfaces.ts
or move all interfaces from devtoolsMiddleware.d.ts
into devtoolsMiddleware.ts
file or move devtoolsMiddleware.d.ts
to interfaces
folder
Thanks for that @gebeto. I would gladly accept this PR.
@matheusml I've add it to #142, can you check that PR?