From 5e491260a193f83a7aeeddd717a27fdc2fa426ac Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Fri, 27 Mar 2020 22:23:46 +0100 Subject: [PATCH] =?UTF-8?q?fix(Typings):=20use=20Channel=20instead=20of=20?= =?UTF-8?q?*ChannelTypes=20in=20ClientEve=E2=80=A6=20(#4001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 fbbc9d29c..ef329b456 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2168,10 +2168,10 @@ declare module 'discord.js' { } interface ClientEvents { - channelCreate: [ChannelTypes]; - channelDelete: [ChannelTypes | PartialDMChannel]; - channelPinsUpdate: [TextBasedChannelTypes | PartialDMChannel, Date]; - channelUpdate: [ChannelTypes, ChannelTypes]; + channelCreate: [Channel]; + channelDelete: [Channel | PartialDMChannel]; + channelPinsUpdate: [Channel | PartialDMChannel, Date]; + channelUpdate: [Channel, Channel]; debug: [string]; warn: [string]; disconnect: [any, number]; @@ -2209,7 +2209,7 @@ declare module 'discord.js' { roleCreate: [Role]; roleDelete: [Role]; roleUpdate: [Role, Role]; - typingStart: [TextBasedChannelTypes | PartialDMChannel, User | PartialUser]; + typingStart: [Channel | PartialDMChannel, User | PartialUser]; userUpdate: [User | PartialUser, User | PartialUser]; voiceStateUpdate: [VoiceState, VoiceState]; webhookUpdate: [TextChannel];