refactor: remove extended collection (#6246)

Co-authored-by: iCrawl <buechler.noel@outlook.com>
This commit is contained in:
1Computer1
2021-07-31 07:08:59 -04:00
committed by GitHub
parent 65ae06429d
commit 00bae4fe6b
49 changed files with 56 additions and 75 deletions

6
typings/index.d.ts vendored
View File

@@ -13,7 +13,7 @@ import {
TimestampStylesString,
underscore,
} from '@discordjs/builders';
import BaseCollection from '@discordjs/collection';
import { Collection } from '@discordjs/collection';
import { ChildProcess } from 'child_process';
import {
APIActionRowComponent,
@@ -368,9 +368,7 @@ export class ClientVoiceManager {
public adapters: Map<Snowflake, InternalDiscordGatewayAdapterLibraryMethods>;
}
export class Collection<K, V> extends BaseCollection<K, V> {
public toJSON(): unknown;
}
export { Collection } from '@discordjs/collection';
export abstract class Collector<K, V, F extends unknown[] = []> extends EventEmitter {
public constructor(client: Client, options?: CollectorOptions<[V, ...F]>);