Skip to content

Commit b3c85d3

Browse files
fix(types): fixed CachedManager constructor arguments in type (#9761)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent d8e3755 commit b3c85d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/typings/index.d.ts

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

37393739
export abstract class CachedManager<K, Holds, R> extends DataManager<K, Holds, R> {
3740-
protected constructor(client: Client<true>, holds: Constructable<Holds>);
3740+
protected constructor(client: Client<true>, holds: Constructable<Holds>, iterable?: Iterable<Holds>);
37413741
private readonly _cache: Collection<K, Holds>;
37423742
private _add(data: unknown, cache?: boolean, { id, extras }?: { id: K; extras: unknown[] }): Holds;
37433743
}

0 commit comments

Comments
 (0)