mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
types: fix type of Attachment#name (#9101)
Co-authored-by: space <spaceeec@yahoo.com>
This commit is contained in:
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
@@ -1982,7 +1982,7 @@ export class Attachment {
|
|||||||
public ephemeral: boolean;
|
public ephemeral: boolean;
|
||||||
public height: number | null;
|
public height: number | null;
|
||||||
public id: Snowflake;
|
public id: Snowflake;
|
||||||
public name: string | null;
|
public name: string;
|
||||||
public proxyURL: string;
|
public proxyURL: string;
|
||||||
public size: number;
|
public size: number;
|
||||||
public get spoiler(): boolean;
|
public get spoiler(): boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user