From aee6d311c0cdd888550c3492c1390937b7a5b406 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Thu, 17 Jul 2025 08:38:16 +0100 Subject: [PATCH] fix(Container): Use the same discord-api-types version (#10999) fix(Container): use v10 --- .../builders/src/components/v2/Container.ts | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/packages/builders/src/components/v2/Container.ts b/packages/builders/src/components/v2/Container.ts index 6efd517cd..89bca6019 100644 --- a/packages/builders/src/components/v2/Container.ts +++ b/packages/builders/src/components/v2/Container.ts @@ -1,14 +1,15 @@ -import type { - APIActionRowComponent, - APIFileComponent, - APITextDisplayComponent, - APIContainerComponent, - APIComponentInContainer, - APIMediaGalleryComponent, - APISectionComponent, +import { + type APIComponentInMessageActionRow, + type APISeparatorComponent, + type APIActionRowComponent, + type APIFileComponent, + type APITextDisplayComponent, + type APIContainerComponent, + type APIComponentInContainer, + type APIMediaGalleryComponent, + type APISectionComponent, + ComponentType, } from 'discord-api-types/v10'; -import { ComponentType } from 'discord-api-types/v10'; -import type { APIComponentInMessageActionRow, APISeparatorComponent } from 'discord-api-types/v9'; import { normalizeArray, type RestOrArray } from '../../util/normalizeArray'; import { resolveBuilder } from '../../util/resolveBuilder'; import { validate } from '../../util/validation';