diff --git a/src/common/types/write.ts b/src/common/types/write.ts index edbef6e..7b8a5bf 100644 --- a/src/common/types/write.ts +++ b/src/common/types/write.ts @@ -17,7 +17,7 @@ import type { OmitInsert } from './util'; export interface ResolverProps { embeds?: Embed[] | APIEmbed[] | undefined; - components?: TopLevelBuilders[]; + components?: TopLevelBuilders[] | TopLevelBuilders['toJSON'][]; files?: AttachmentBuilder[] | Attachment[] | RawFile[] | undefined; }