UNPKG

singleton-manager

Version:

Manage singletons across multiple major versions so they converge to a single instance

21 lines 474 B
export class SingletonManagerClass { /** @protected */ protected _map: any; /** * Ignores already existing keys (e.g. it will not override) * * @param {string} key * @param {any} value */ set(key: string, value: any): void; /** * @param {string} key * @returns */ get(key: string): any; /** * @param {string} key */ has(key: string): any; } //# sourceMappingURL=SingletonManagerClass.d.ts.map