Skip to content

Instantly share code, notes, and snippets.

@11bit
Created August 21, 2020 07:59
Show Gist options
  • Save 11bit/ae4a19748c0ffaec44db4f2890e030d8 to your computer and use it in GitHub Desktop.
Save 11bit/ae4a19748c0ffaec44db4f2890e030d8 to your computer and use it in GitHub Desktop.
Nonoptimal declarations file
import { ActionType } from '../src';
export declare const actions: {
a1: import("../src").EmptyActionCreator<"a1">;
a2: import("../src").EmptyActionCreator<"a2">;
a3: import("../src").EmptyActionCreator<"a3">;
a4: import("../src").EmptyActionCreator<"a4">;
a5: import("../src").EmptyActionCreator<"a5">;
a6: import("../src").EmptyActionCreator<"a6">;
a7: import("../src").EmptyActionCreator<"a7">;
a8: import("../src").EmptyActionCreator<"a8">;
a9: import("../src").EmptyActionCreator<"a9">;
a10: import("../src").EmptyActionCreator<"a10">;
};
export declare type RootAction = ActionType<typeof actions>;
export declare const reducer1: import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator extends (...args: any[]) => import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">, THandledAction extends ReturnType<TActionCreator>, TOutputAction extends Exclude<import("../src").EmptyAction<"a6">, THandledAction> | Exclude<import("../src").EmptyAction<"a7">, THandledAction> | Exclude<import("../src").EmptyAction<"a8">, THandledAction> | Exclude<import("../src").EmptyAction<"a9">, THandledAction> | Exclude<import("../src").EmptyAction<"a10">, THandledAction>>(singleOrMultipleCreatorsAndTypes: TActionCreator | TActionCreator[], reducer: (state: number, action: THandledAction) => number) => [TOutputAction] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_1 extends (...args: any[]) => TOutputAction, THandledAction_1 extends ReturnType<TActionCreator_1>, TOutputAction_1 extends Exclude<TOutputAction, THandledAction_1>>(singleOrMultipleCreatorsAndTypes: TActionCreator_1 | TActionCreator_1[], reducer: (state: number, action: THandledAction_1) => number) => [TOutputAction_1] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_1>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_2 extends (...args: any[]) => TOutputAction_1, THandledAction_2 extends ReturnType<TActionCreator_2>, TOutputAction_2 extends Exclude<TOutputAction_1, THandledAction_2>>(singleOrMultipleCreatorsAndTypes: TActionCreator_2 | TActionCreator_2[], reducer: (state: number, action: THandledAction_2) => number) => [TOutputAction_2] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_2>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_3 extends (...args: any[]) => TOutputAction_2, THandledAction_3 extends ReturnType<TActionCreator_3>, TOutputAction_3 extends Exclude<TOutputAction_2, THandledAction_3>>(singleOrMultipleCreatorsAndTypes: TActionCreator_3 | TActionCreator_3[], reducer: (state: number, action: THandledAction_3) => number) => [TOutputAction_3] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_3>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_4 extends (...args: any[]) => TOutputAction_3, THandledAction_4 extends ReturnType<TActionCreator_4>, TOutputAction_4 extends Exclude<TOutputAction_3, THandledAction_4>>(singleOrMultipleCreatorsAndTypes: TActionCreator_4 | TActionCreator_4[], reducer: (state: number, action: THandledAction_4) => number) => [TOutputAction_4] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_4>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_5 extends (...args: any[]) => TOutputAction_4, THandledAction_5 extends ReturnType<TActionCreator_5>, TOutputAction_5 extends Exclude<TOutputAction_4, THandledAction_5>>(singleOrMultipleCreatorsAndTypes: TActionCreator_5 | TActionCreator_5[], reducer: (state: number, action: THandledAction_5) => number) => [TOutputAction_5] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_5>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_6 extends (...args: any[]) => TOutputAction_5, THandledAction_6 extends ReturnType<TActionCreator_6>, TOutputAction_6 extends Exclude<TOutputAction_5, THandledAction_6>>(singleOrMultipleCreatorsAndTypes: TActionCreator_6 | TActionCreator_6[], reducer: (state: number, action: THandledAction_6) => number) => [TOutputAction_6] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_6>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_7 extends (...args: any[]) => TOutputAction_6, THandledAction_7 extends ReturnType<TActionCreator_7>, TOutputAction_7 extends Exclude<TOutputAction_6, THandledAction_7>>(singleOrMultipleCreatorsAndTypes: TActionCreator_7 | TActionCreator_7[], reducer: (state: number, action: THandledAction_7) => number) => [TOutputAction_7] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_7>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_8 extends (...args: any[]) => TOutputAction_7, THandledAction_8 extends ReturnType<TActionCreator_8>, TOutputAction_8 extends Exclude<TOutputAction_7, THandledAction_8>>(singleOrMultipleCreatorsAndTypes: TActionCreator_8 | TActionCreator_8[], reducer: (state: number, action: THandledAction_8) => number) => [TOutputAction_8] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_8>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_9 extends (...args: any[]) => TOutputAction_8, THandledAction_9 extends ReturnType<TActionCreator_9>, TOutputAction_9 extends Exclude<TOutputAction_8, THandledAction_9>>(singleOrMultipleCreatorsAndTypes: TActionCreator_9 | TActionCreator_9[], reducer: (state: number, action: THandledAction_9) => number) => [TOutputAction_9] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_9>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_10 extends (...args: any[]) => TOutputAction_9, THandledAction_10 extends ReturnType<TActionCreator_10>, TOutputAction_10 extends Exclude<TOutputAction_9, THandledAction_10>>(singleOrMultipleCreatorsAndTypes: TActionCreator_10 | TActionCreator_10[], reducer: (state: number, action: THandledAction_10) => number) => [TOutputAction_10] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & any : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
};
export declare const reducer2: import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator extends (...args: any[]) => import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5">, THandledAction extends ReturnType<TActionCreator>, TOutputAction extends Exclude<import("../src").EmptyAction<"a1">, THandledAction> | Exclude<import("../src").EmptyAction<"a2">, THandledAction> | Exclude<import("../src").EmptyAction<"a3">, THandledAction> | Exclude<import("../src").EmptyAction<"a4">, THandledAction> | Exclude<import("../src").EmptyAction<"a5">, THandledAction>>(singleOrMultipleCreatorsAndTypes: TActionCreator | TActionCreator[], reducer: (state: number, action: THandledAction) => number) => [TOutputAction] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_1 extends (...args: any[]) => TOutputAction, THandledAction_1 extends ReturnType<TActionCreator_1>, TOutputAction_1 extends Exclude<TOutputAction, THandledAction_1>>(singleOrMultipleCreatorsAndTypes: TActionCreator_1 | TActionCreator_1[], reducer: (state: number, action: THandledAction_1) => number) => [TOutputAction_1] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_1> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_1>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_2 extends (...args: any[]) => TOutputAction_1, THandledAction_2 extends ReturnType<TActionCreator_2>, TOutputAction_2 extends Exclude<TOutputAction_1, THandledAction_2>>(singleOrMultipleCreatorsAndTypes: TActionCreator_2 | TActionCreator_2[], reducer: (state: number, action: THandledAction_2) => number) => [TOutputAction_2] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_2> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_2>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_3 extends (...args: any[]) => TOutputAction_2, THandledAction_3 extends ReturnType<TActionCreator_3>, TOutputAction_3 extends Exclude<TOutputAction_2, THandledAction_3>>(singleOrMultipleCreatorsAndTypes: TActionCreator_3 | TActionCreator_3[], reducer: (state: number, action: THandledAction_3) => number) => [TOutputAction_3] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_3> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_3>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_4 extends (...args: any[]) => TOutputAction_3, THandledAction_4 extends ReturnType<TActionCreator_4>, TOutputAction_4 extends Exclude<TOutputAction_3, THandledAction_4>>(singleOrMultipleCreatorsAndTypes: TActionCreator_4 | TActionCreator_4[], reducer: (state: number, action: THandledAction_4) => number) => [TOutputAction_4] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_4> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_4>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_5 extends (...args: any[]) => TOutputAction_4, THandledAction_5 extends ReturnType<TActionCreator_5>, TOutputAction_5 extends Exclude<TOutputAction_4, THandledAction_5>>(singleOrMultipleCreatorsAndTypes: TActionCreator_5 | TActionCreator_5[], reducer: (state: number, action: THandledAction_5) => number) => [TOutputAction_5] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_5> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_5>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_6 extends (...args: any[]) => TOutputAction_5, THandledAction_6 extends ReturnType<TActionCreator_6>, TOutputAction_6 extends Exclude<TOutputAction_5, THandledAction_6>>(singleOrMultipleCreatorsAndTypes: TActionCreator_6 | TActionCreator_6[], reducer: (state: number, action: THandledAction_6) => number) => [TOutputAction_6] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_6> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_6>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_7 extends (...args: any[]) => TOutputAction_6, THandledAction_7 extends ReturnType<TActionCreator_7>, TOutputAction_7 extends Exclude<TOutputAction_6, THandledAction_7>>(singleOrMultipleCreatorsAndTypes: TActionCreator_7 | TActionCreator_7[], reducer: (state: number, action: THandledAction_7) => number) => [TOutputAction_7] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_7> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_7>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_8 extends (...args: any[]) => TOutputAction_7, THandledAction_8 extends ReturnType<TActionCreator_8>, TOutputAction_8 extends Exclude<TOutputAction_7, THandledAction_8>>(singleOrMultipleCreatorsAndTypes: TActionCreator_8 | TActionCreator_8[], reducer: (state: number, action: THandledAction_8) => number) => [TOutputAction_8] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_8> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_8>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_9 extends (...args: any[]) => TOutputAction_8, THandledAction_9 extends ReturnType<TActionCreator_9>, TOutputAction_9 extends Exclude<TOutputAction_8, THandledAction_9>>(singleOrMultipleCreatorsAndTypes: TActionCreator_9 | TActionCreator_9[], reducer: (state: number, action: THandledAction_9) => number) => [TOutputAction_9] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<(Exclude<import("../src").EmptyAction<"a1">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a2">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a3">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a4">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a5">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a6">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a7">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a8">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a9">, TOutputAction_9> | Exclude<import("../src").EmptyAction<"a10">, TOutputAction_9>)["type"], (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
handleAction: <TActionCreator_10 extends (...args: any[]) => TOutputAction_9, THandledAction_10 extends ReturnType<TActionCreator_10>, TOutputAction_10 extends Exclude<TOutputAction_9, THandledAction_10>>(singleOrMultipleCreatorsAndTypes: TActionCreator_10 | TActionCreator_10[], reducer: (state: number, action: THandledAction_10) => number) => [TOutputAction_10] extends [import("../src").Action<string>] ? import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & any : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
} : import("../src").Reducer<number, import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">> & {
handlers: Record<"a1" | "a2" | "a3" | "a4" | "a5" | "a6" | "a7" | "a8" | "a9" | "a10", (state: number, action: import("../src").EmptyAction<"a1"> | import("../src").EmptyAction<"a2"> | import("../src").EmptyAction<"a3"> | import("../src").EmptyAction<"a4"> | import("../src").EmptyAction<"a5"> | import("../src").EmptyAction<"a6"> | import("../src").EmptyAction<"a7"> | import("../src").EmptyAction<"a8"> | import("../src").EmptyAction<"a9"> | import("../src").EmptyAction<"a10">) => number>;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment