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