TypeScript definitions excluded in .npmignore
omichelsen opened this issue · comments
Ole Bjørn Michelsen commented
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.
Patrick Burtchaell commented
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
Ole Bjørn Michelsen commented
Works like a charm 👍
Patrick Burtchaell commented
Great! Will release this at some point today or in the next couple days.
Patrick Burtchaell commented
Merged to master and released to npm as redux-promise-middleware@6.0.1
.