diff --git a/src/util/collection.ts b/src/util/collection.ts index 79af9ef80..2a98de938 100644 --- a/src/util/collection.ts +++ b/src/util/collection.ts @@ -129,12 +129,12 @@ export class Collection extends Map { } } -interface CollectionOptions { +export interface CollectionOptions { sweeper?: CollectionSweeper; maxSize?: number; } -interface CollectionSweeper { +export interface CollectionSweeper { /** The filter to determine whether an element should be deleted or not */ filter: (value: V, key: K, ...args: any[]) => boolean; /** The interval in which the sweeper should run */