mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
refactor(collection): remove default export (#8053)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { describe, test, expect } from 'vitest';
|
||||
import Collection from '../src';
|
||||
import { Collection } from '../src';
|
||||
|
||||
type TestCollection = Collection<string, number>;
|
||||
|
||||
|
||||
@@ -776,5 +776,3 @@ export type Keep<V> = { keep: true; value: V } | { keep: false };
|
||||
* @internal
|
||||
*/
|
||||
export type Comparator<K, V> = (firstValue: V, secondValue: V, firstKey: K, secondKey: K) => number;
|
||||
|
||||
export default Collection;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { EventEmitter } from 'node:events';
|
||||
import type Collection from '@discordjs/collection';
|
||||
import type { Collection } from '@discordjs/collection';
|
||||
import type { request, Dispatcher } from 'undici';
|
||||
import { CDN } from './CDN';
|
||||
import {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Blob } from 'node:buffer';
|
||||
import { EventEmitter } from 'node:events';
|
||||
import Collection from '@discordjs/collection';
|
||||
import { Collection } from '@discordjs/collection';
|
||||
import { DiscordSnowflake } from '@sapphire/snowflake';
|
||||
import { FormData, type RequestInit, type BodyInit, type Dispatcher, Agent } from 'undici';
|
||||
import type { RESTOptions, RestEvents, RequestOptions } from './REST';
|
||||
|
||||
Reference in New Issue
Block a user