From 4a6fb9a7d4bb84085f27295f27cea43cae62039f Mon Sep 17 00:00:00 2001 From: cherryblossom000 <31467609+cherryblossom000@users.noreply.github.com> Date: Sun, 18 Oct 2020 00:33:57 +1100 Subject: [PATCH] types(TextBasedChannel): make lastPinAt nullable (#4842) This commit makes `TextBasedChannelFields#lastPinAt` nullable in the typings. --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index da1761a90..f9dadb217 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2071,7 +2071,7 @@ declare module 'discord.js' { interface TextBasedChannelFields extends PartialTextBasedChannelFields { _typing: Map; lastPinTimestamp: number | null; - readonly lastPinAt: Date; + readonly lastPinAt: Date | null; typing: boolean; typingCount: number; awaitMessages(filter: CollectorFilter, options?: AwaitMessagesOptions): Promise>;