esamattis / immer-reducer

Type-safe and terse reducers with Typescript for React Hooks and Redux
http://npm.im/immer-reducer
MIT License
224 stars 15 forks source link

#3 Expose action type name #4

Closed Alexxzz closed 5 years ago

Alexxzz commented 5 years ago

3 Exposing action type name

Hello,

Please take a look if this is what and how would you like it.

(please check Hide whitespace changes in Diff settings, not sure why it happened but will try to fix it)

esamattis commented 5 years ago

Thank you!

The whitespace thing was weird. I've actually originally authored this project on Windows which is not my usual OS for coding so this project might actually use some weird line endings (not sure how git should be configured in Windows).

But I did some interactive rebase magic on your commits (run prettier, re-save) and now it looks good :)

esamattis commented 5 years ago

Released to npm in 0.2.0.