import { type Actor } from "https://deno.land/x/rimbu@1.1.0/actor/main/index.ts";
const { ActionsToDispatch } = Actor;
Type Parameters
AC extends Actor.ActionsDefinition
D extends Actor.DispatchFunction
definition: [K in keyof AC]: AC[K] extends (...args: any[]) => any ? (...args: Parameters<AC[K]>) => ReturnType<D> : ActionsToDispatch<AC[K] & Actor.ActionsDefinition, D>