Skip to content

Commit 9bef4c6

Browse files
committed
fix(types): fixed CachedManager constructor arguments in type (discordjs#9761)
1 parent 0347187 commit 9bef4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3223,7 +3223,7 @@ export abstract class DataManager<K, Holds, R> extends BaseManager {
32233223
}
32243224

32253225
export abstract class CachedManager<K, Holds, R> extends DataManager<K, Holds, R> {
3226-
protected constructor(client: Client, holds: Constructable<Holds>);
3226+
protected constructor(client: Client, holds: Constructable<Holds>, iterable?: Iterable<Holds>);
32273227
private readonly _cache: Collection<K, Holds>;
32283228
private _add(data: unknown, cache?: boolean, { id, extras }?: { id: K; extras: unknown[] }): Holds;
32293229
}

0 commit comments

Comments
 (0)