With<B, SB>: Omit<B,
    | "behaviors"
    | "defaults"
    | "set"
    | "with"> & {
    behaviors: B["behaviors"] & SB;
    defaults: StateOf<SB>;
    set(defaults: InputStateOf<SB>): With<B, SB>;
    with<const BL>(...behaviors: BL): With<B, With<SB, BL>>;
}

Type Parameters

Type declaration