Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(types): fixed CachedManager constructor arguments in type (#9761)
  • Loading branch information
jaw0r3k authored and vladfrangu committed Nov 5, 2023
1 parent f217335 commit 142db0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -3224,7 +3224,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 142db0e

Please sign in to comment.