@elsikora/cladi
Version:
ClaDI is a library for creating and managing classes in TypeScript.
20 lines (16 loc) • 765 B
JavaScript
;
require('../../../domain/enum/logger-log-level.enum.js');
require('../../../infrastructure/constant/console-logger-default-options.constant.js');
var registry_class = require('../../../infrastructure/class/base/registry.class.js');
/**
* 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.
*/
function createRegistry(options) {
return new registry_class.BaseRegistry(options);
}
exports.createRegistry = createRegistry;
//# sourceMappingURL=registry.utility.js.map