(map: Map<string, string[]>, key: string, value: string)
| 77 | } |
| 78 | |
| 79 | function pushQueue(map: Map<string, string[]>, key: string, value: string): void { |
| 80 | const queue = map.get(key) ?? []; |
| 81 | queue.push(value); |
| 82 | map.set(key, queue); |
| 83 | } |
| 84 | |
| 85 | function shiftQueue(map: Map<string, string[]>, key: string): string | null { |
| 86 | const queue = map.get(key); |
no test coverage detected