types: fix type of Attachment#name (#9101)

Co-authored-by: space <spaceeec@yahoo.com>
This commit is contained in:
SKINMAKER
2023-02-18 05:33:08 +09:00
committed by GitHub
parent 483cbb3b2a
commit 4e0a89f58f

View File

@@ -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;