@elsikora/cladi
Version:
ClaDI is a library for creating and managing classes in TypeScript.
13 lines • 660 B
TypeScript
import type { IRegistry } from '../../../domain/interface/index';
import type { IBaseRegistryOptions } from '../../../infrastructure/interface/index';
/**
* Creates a new registry instance.
* @param {IBaseRegistryOptions} options - The options to use for the registry.
* @returns {IRegistry<T>} A new registry instance.
* @template T The type of items stored in the registry.
* @see {@link https://elsikora.com/docs/cladi/core-concepts/registry} for more information on registries.
*/
export declare function createRegistry<T extends {
getName(): string;
}>(options: IBaseRegistryOptions): IRegistry<T>;
//# sourceMappingURL=registry.utility.d.ts.map