mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
typings(Attachment): make attachment private (#8982)
* typings(Attachment): remove attachment property
* remove from structures
* Revert "remove from structures"
This reverts commit 88acb8d276.
* typings(attachment): make attachment private
---------
Co-authored-by: space <spaceeec@yahoo.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user