Skip to content

Commit aee6d31

Browse files
authored
fix(Container): Use the same discord-api-types version (#10999)
fix(Container): use v10
1 parent 1dfc511 commit aee6d31

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

packages/builders/src/components/v2/Container.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
import type {
2-
APIActionRowComponent,
3-
APIFileComponent,
4-
APITextDisplayComponent,
5-
APIContainerComponent,
6-
APIComponentInContainer,
7-
APIMediaGalleryComponent,
8-
APISectionComponent,
1+
import {
2+
type APIComponentInMessageActionRow,
3+
type APISeparatorComponent,
4+
type APIActionRowComponent,
5+
type APIFileComponent,
6+
type APITextDisplayComponent,
7+
type APIContainerComponent,
8+
type APIComponentInContainer,
9+
type APIMediaGalleryComponent,
10+
type APISectionComponent,
11+
ComponentType,
912
} from 'discord-api-types/v10';
10-
import { ComponentType } from 'discord-api-types/v10';
11-
import type { APIComponentInMessageActionRow, APISeparatorComponent } from 'discord-api-types/v9';
1213
import { normalizeArray, type RestOrArray } from '../../util/normalizeArray';
1314
import { resolveBuilder } from '../../util/resolveBuilder';
1415
import { validate } from '../../util/validation';

0 commit comments

Comments
 (0)