Type alias Registry<K, T>

Registry<K, T>: ReadonlyRegistry<K, T> & {
    reset: ResetState;
    set: SetState<Record<K, T>>;
    update(handler: ((draft: Draft<Record<K, T>>) => void | Record<K, T>)): void;
}

Type Parameters

  • K extends KeyTypes

  • T

Generated using TypeDoc