Type alias ReadonlyRegistry<K, T>

ReadonlyRegistry<K, T>: {
    onChange: OnStateChange<Record<K, T>>;
    get(): Record<K, T>;
    has(key: K): boolean;
    keys(): K[];
    list(): T[];
    size(): number;
}

Type Parameters

  • K extends KeyTypes

  • T

Type declaration

Generated using TypeDoc