No errors, well done sir!

This commit is contained in:
Schluffe
2026-03-08 14:11:33 +01:00
parent 75bbe67730
commit 2ba2fa3d32
2 changed files with 38 additions and 9 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ import type { Box } from "#/engine/Box.ts";
export default class MapProxy<K, V> {
map: Map<K, Box<V>>;
constructor() {
this.map = new Map();
constructor(iterable?: Iterable<readonly [K, Box<V>]>) {
this.map = new Map(iterable);
}
get(key: K): Box<V> | undefined {