Skip to content

Commit

Permalink
fix(types): fixed CachedManager constructor arguments in type (#9761)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
LilyBergonzat and kodiakhq[bot] authored Aug 11, 2023
1 parent d8e3755 commit b3c85d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3737,7 +3737,7 @@ export abstract class DataManager<K, Holds, R> extends BaseManager {
}

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

0 comments on commit b3c85d3

Please sign in to comment.