tshelburne / redux-batched-actions

redux higher order reducer + action to reduce actions under a single subscriber notification
MIT License
1.04k stars 37 forks source link

Add typescript type declarations #11

Closed mDibyo closed 7 years ago

mDibyo commented 7 years ago

Adding typescript declarations to make this easier to use with typescript projects. :)

@tshelburne, would be down to add a typescript version if you are interested!

tshelburne commented 7 years ago

@dibyo Thanks, this is great! I hadn't even thought about adding a defs file.

Re: a typescript version, I don't think the module itself is complex enough to benefit from it, especially since it would require the extra dev dep. However, if people start asking for it for reassurance or something, I'm not opposed.

Thanks again!

tshelburne commented 7 years ago

@dibyo Also, new version published to NPM, 0.1.5.

mDibyo commented 7 years ago

@tshelburne think you have the wrong @dibyo there. :D

yeah, you are right about it not being complex enough to benefit much from typescripting.

Thanks for the new version! I can stop relying on my local version of the package now!

tshelburne commented 7 years ago

@mDibyo Oh damn. I was wondering why the autocomplete was feeling slow.

Thanks for the pull.