Skip to content

Commit

Permalink
fix(types): fixed CachedManager constructor arguments in type (discor…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaw0r3k committed Aug 12, 2023
1 parent 0347187 commit 9bef4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3223,7 +3223,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, holds: Constructable<Holds>);
protected constructor(client: Client, 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 9bef4c6

Please sign in to comment.