mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 22:44:43 +12:00
fix(types): fixed CachedManager constructor arguments in type (#9761)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
parent
d8e37551ce
commit
b3c85d34a6
1 changed files with 1 additions and 1 deletions
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue