pburtchaell / redux-promise-middleware

Enables simple, yet robust handling of async action creators in Redux

Home Page:https://pburtchaell.gitbook.io/redux-promise-middleware/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript definitions excluded in .npmignore

omichelsen opened this issue · comments

First of all, thanks for including TypeScript definitions!

Currently they don't work however, since package.json is pointing to the src directory which is excluded by .npmignore:

"types": "src/index.d.ts"

Applies to the current v6.

Hi @omichelsen, good catch. I opened #237, which should fix this, and published a fix to npm. Can you install the beta and let me know if it works for you?

npm install redux-promise-middleware@6.0.1-beta.0

Works like a charm 👍

Great! Will release this at some point today or in the next couple days.

Merged to master and released to npm as redux-promise-middleware@6.0.1.