diff --git a/src/utils/collection.ts b/src/utils/collection.ts index 90268ac33..84d3bba17 100644 --- a/src/utils/collection.ts +++ b/src/utils/collection.ts @@ -1,6 +1,6 @@ import { chooseRandom } from "./utils.ts"; -export default class Collection extends Map { +export class Collection extends Map { maxSize?: number; set(key: K, value: V) {