mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
fix: types lol
This commit is contained in:
parent
fd7c116215
commit
33ac5a8246
@ -123,7 +123,7 @@ export class AttachmentBuilder {
|
||||
* @returns The resolved REST API attachment.
|
||||
*/
|
||||
export function resolveAttachment(
|
||||
resolve: Attachment | AttachmentData | RESTAPIAttachment,
|
||||
resolve: Attachment | AttachmentBuilder | AttachmentData | RESTAPIAttachment,
|
||||
): Omit<RESTAPIAttachment, 'id'> {
|
||||
if ('id' in resolve) return resolve;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user