From ca1bd61f4f061a9e15f9f636b7c8386417770683 Mon Sep 17 00:00:00 2001 From: Alexander Kashev Date: Fri, 18 Oct 2019 11:30:49 +0200 Subject: [PATCH] typings(Emoji): remove deletable, add deleted, mark nullable props (#3542) --- typings/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index bc96ed237..52a9a39eb 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -651,13 +651,13 @@ declare module 'discord.js' { export class Emoji extends Base { constructor(client: Client, emoji: object); public animated: boolean; - public readonly createdAt: Date; - public readonly createdTimestamp: number; - public readonly deletable: boolean; - public id: Snowflake; + public readonly createdAt: Date | null; + public readonly createdTimestamp: number | null; + public deleted: boolean; + public id: Snowflake | null; public name: string; public readonly identifier: string; - public readonly url: string; + public readonly url: string | null; public toJSON(): object; public toString(): string; }