piotrwitek / typesafe-actions

Typesafe utilities for "action-creators" in Redux / Flux Architecture
https://codesandbox.io/s/github/piotrwitek/typesafe-actions/tree/master/codesandbox
MIT License
2.41k stars 99 forks source link

Expose InitialHandler type #224

Closed jaulz closed 2 years ago

jaulz commented 4 years ago

Is your feature request related to a real problem or use-case?

I would like to use the InitialHandler type in my project so I can easily pass it around from a wrapper function.

Describe a solution including usage in code example

"export" is missing.

Who does this impact? Who is this for?

All Typescript users that would like to pass initial handlers from a wrapper functions.

Describe alternatives you've considered (optional)

The alternative is to copy the type to my project.

Additional context (optional)