the-dr-lazy / deox

Functional Type-safe Flux Standard Utilities
https://deox.js.org
MIT License
206 stars 12 forks source link

Reducer type is any in builds #5

Closed the-dr-lazy closed 5 years ago

the-dr-lazy commented 5 years ago

Describe the bug Reducer type in createHandlerMap is any.

Expected behavior createHandlerMap second argument as Reducer should have state and action type.

Environment:

Possible Solution convert the types.d.ts file to be an ordinary .ts file which can hold the types in the builds.