UNPKG

@fthebaud/reducer-logger

Version:
13 lines (12 loc) 244 B
declare type Action = { type: string; [key: string]: unknown; }; interface Reducer<S, A> { (state: S, action: A): S; } export declare type Options = { disabled?: boolean; displayName?: string; }; export { Reducer, Action };