diff --git a/packages/collection/__tests__/collection.test.ts b/packages/collection/__tests__/collection.test.ts index d5352bc59c5b..e59caa90fc35 100644 --- a/packages/collection/__tests__/collection.test.ts +++ b/packages/collection/__tests__/collection.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest'; -import Collection from '../src'; +import { Collection } from '../src'; type TestCollection = Collection; diff --git a/packages/collection/src/index.ts b/packages/collection/src/index.ts index 5ab8f277f9bc..ca9d3df236ee 100644 --- a/packages/collection/src/index.ts +++ b/packages/collection/src/index.ts @@ -776,5 +776,3 @@ export type Keep = { keep: true; value: V } | { keep: false }; * @internal */ export type Comparator = (firstValue: V, secondValue: V, firstKey: K, secondKey: K) => number; - -export default Collection; diff --git a/packages/rest/src/lib/REST.ts b/packages/rest/src/lib/REST.ts index cf763843b2e7..a045641cdf82 100644 --- a/packages/rest/src/lib/REST.ts +++ b/packages/rest/src/lib/REST.ts @@ -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 { diff --git a/packages/rest/src/lib/RequestManager.ts b/packages/rest/src/lib/RequestManager.ts index 2ffd0dfe926e..1bd10f016f31 100644 --- a/packages/rest/src/lib/RequestManager.ts +++ b/packages/rest/src/lib/RequestManager.ts @@ -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';