export class MultipleInstanceManager { map: Map = new Map(); constructor() {} get(key: string) { return this.map.get(key); } set(key: string, value: Item) { this.map.set(key, value); } }