@logixjs/react
    Preparing search index...

    Type Alias ModuleDispatchers<A, Tags, Def>

    ModuleDispatchers: [ActionMapOfDef<Def>] extends [never]
        ? [ActionTags<A>] extends [never]
            ? {}
            : {
                readonly [K in Tags & ActionTags<A>]: ActionFn<
                    ActionPayload<A, K>,
                    Extract<A, { _tag: K } | { type: K }>,
                >
            }
        : ActionMapOfDef<Def> extends Record<string, AnyActionToken>
            ? ActionMapOfDef<Def>
            : [ActionTags<A>] extends [never]
                ? {}
                : {
                    readonly [K in Tags & ActionTags<A>]: ActionFn<
                        ActionPayload<A, K>,
                        Extract<A, { _tag: K } | { type: K }>,
                    >
                }

    Type Parameters

    • A
    • Tags extends string = ActionTags<A>
    • Def = unknown