From 3df99930e86813acfff1177ac6e784b7eaf24979 Mon Sep 17 00:00:00 2001 From: tiehm Date: Tue, 11 Aug 2020 20:58:12 +0200 Subject: [PATCH] fix(Typings): Channel#delete returns bad type (#4118) --- typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index b4798fc03..494b34881 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -158,8 +158,8 @@ declare module 'discord.js' { public deleted: boolean; public id: Snowflake; public type: keyof typeof ChannelType; - public delete(reason?: string): Promise; - public fetch(): Promise; + public delete(reason?: string): Promise; + public fetch(): Promise; public toString(): string; }