fix: components type

This commit is contained in:
MARCROCK22 2025-04-27 12:19:30 -04:00
parent 7baeedd67c
commit f4bcaa58ec

View File

@ -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;
}