How to enforce stricter TypeScript typing in a generic createReducer function?
I have a utility function createReducer that takes a reducer function and returns it:
How to enforce stricter TypeScript typing in a generic createReducer function?
I have a utility function createReducer that takes a reducer function and returns it:
How to enforce stricter TypeScript typing in a generic createReducer function?
I have a utility function createReducer that takes a reducer function and returns it: