import { type Actor } from "https://deno.land/x/rimbu@0.14.0/actor/main/actor.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>