From da23cd5d69de4856d075f00738f75c68c555ae5b Mon Sep 17 00:00:00 2001 From: net-tech Date: Fri, 17 Feb 2023 22:52:51 +0100 Subject: [PATCH] typings(Attachment): make `attachment` private (#8982) * typings(Attachment): remove attachment property * remove from structures * Revert "remove from structures" This reverts commit 88acb8d276e49a3b036e8d68dfb133de6c8c8dad. * typings(attachment): make attachment private --------- Co-authored-by: space Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 6ddad6d32..65a04616e 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1988,7 +1988,7 @@ export class AttachmentBuilder { export class Attachment { private constructor(data: APIAttachment); - public attachment: BufferResolvable | Stream; + private attachment: BufferResolvable | Stream; public contentType: string | null; public description: string | null; public ephemeral: boolean;