import { type Slice } from "https://deno.land/x/rimbu@0.14.0/actor/main/index.ts";
const { StateType } = Slice;
Utility type to extract the state type from a given slice type.
Type Parameters
SL extends Slice<any, any>
definition: SL["reducer"] extends Actor.ActionReducer<infer S> ? S : unknown