From 4e0a89f58f43f362bfde80d8319dce767c62850f Mon Sep 17 00:00:00 2001 From: SKINMAKER Date: Sat, 18 Feb 2023 05:33:08 +0900 Subject: [PATCH] types: fix type of Attachment#name (#9101) Co-authored-by: space --- 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 d922372d7567..1c36f7f0c754 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1982,7 +1982,7 @@ export class Attachment { public ephemeral: boolean; public height: number | null; public id: Snowflake; - public name: string | null; + public name: string; public proxyURL: string; public size: number; public get spoiler(): boolean;