feat(LimitedCollection): export LimitedCollection (#6043)

* feat(LimitedCollection): export LimitedCollection

* fix: remove @private

* fix: typings
This commit is contained in:
PanSzelescik
2021-07-05 13:53:15 +01:00
committed by GitHub
parent 34708d6d18
commit 31d31293d3
3 changed files with 6 additions and 1 deletions

5
typings/index.d.ts vendored
View File

@@ -911,6 +911,11 @@ export class InviteGuild extends AnonymousGuild {
public welcomeScreen: WelcomeScreen | null;
}
export class LimitedCollection<K, V> extends Collection<K, V> {
public constructor(maxSize?: number, iterable?: Iterable<readonly [K, V]>);
public maxSize: number;
}
export class Message extends Base {
public constructor(client: Client, data: unknown, channel: TextChannel | DMChannel | NewsChannel | ThreadChannel);
private patch(data: unknown): Message;