type alias InferEventimport { type InferEvent } from "https://deno.land/x/xstate@xstate@5.0.0-beta.19/src/types.ts"; Type ParametersE extends EventObjectdefinition: [T in E["type"]]: { type: T; } & Extract<E, { type: T; }>[E["type"]]