Skip to content

Commit

Permalink
fix(types): Export ReadonlyCollection (#10184)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedGuy12 committed Mar 20, 2024
1 parent 93c174b commit 6cc5fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ export class ClientVoiceManager {
public adapters: Map<Snowflake, InternalDiscordGatewayAdapterLibraryMethods>;
}

export { Collection } from '@discordjs/collection';
export { Collection, ReadonlyCollection } from '@discordjs/collection';

export interface CollectorEventTypes<Key, Value, Extras extends unknown[] = []> {
collect: [Value, ...Extras];
Expand Down

0 comments on commit 6cc5fa2

Please sign in to comment.