Extracting Return Type of an Effect

Is there a way to extrac the return type of an effect. If i define an effect such that it has a type of Effect.Effect<{ userId: 1 }, never, never>, is there a defined type that would allow me to extract the {userId: 1} from that type?
Was this page helpful?