mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
redux-pack: Fix lint (#20971)
This commit is contained in:
Vendored
+2
-2
@@ -45,8 +45,8 @@ export interface Action<TState = {}, TSuccessPayload = {}, TErrorPayload = {}, T
|
||||
payload?: TSuccessPayload | TErrorPayload | TStartPayload;
|
||||
meta?: ActionMeta<TState, TSuccessPayload, TErrorPayload, TStartPayload>;
|
||||
}
|
||||
export function handle<TState, TSuccessPayload, TErrorPayload, TStartPayload>(
|
||||
export function handle<TState>(
|
||||
state: TState,
|
||||
action: Action<TState, TSuccessPayload, TErrorPayload, TStartPayload>,
|
||||
action: Action<TState, any, any, any>,
|
||||
handlers: Handlers<TState>)
|
||||
: TState;
|
||||
|
||||
Reference in New Issue
Block a user