mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 11:40:41 +00:00
fix(Typings): use Channel instead of *ChannelTypes in ClientEve… (#4001)
This commit is contained in:
parent
f16a0790ca
commit
5e491260a1
1 changed files with 5 additions and 5 deletions
10
typings/index.d.ts
vendored
10
typings/index.d.ts
vendored
|
|
@ -2168,10 +2168,10 @@ declare module 'discord.js' {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ClientEvents {
|
interface ClientEvents {
|
||||||
channelCreate: [ChannelTypes];
|
channelCreate: [Channel];
|
||||||
channelDelete: [ChannelTypes | PartialDMChannel];
|
channelDelete: [Channel | PartialDMChannel];
|
||||||
channelPinsUpdate: [TextBasedChannelTypes | PartialDMChannel, Date];
|
channelPinsUpdate: [Channel | PartialDMChannel, Date];
|
||||||
channelUpdate: [ChannelTypes, ChannelTypes];
|
channelUpdate: [Channel, Channel];
|
||||||
debug: [string];
|
debug: [string];
|
||||||
warn: [string];
|
warn: [string];
|
||||||
disconnect: [any, number];
|
disconnect: [any, number];
|
||||||
|
|
@ -2209,7 +2209,7 @@ declare module 'discord.js' {
|
||||||
roleCreate: [Role];
|
roleCreate: [Role];
|
||||||
roleDelete: [Role];
|
roleDelete: [Role];
|
||||||
roleUpdate: [Role, Role];
|
roleUpdate: [Role, Role];
|
||||||
typingStart: [TextBasedChannelTypes | PartialDMChannel, User | PartialUser];
|
typingStart: [Channel | PartialDMChannel, User | PartialUser];
|
||||||
userUpdate: [User | PartialUser, User | PartialUser];
|
userUpdate: [User | PartialUser, User | PartialUser];
|
||||||
voiceStateUpdate: [VoiceState, VoiceState];
|
voiceStateUpdate: [VoiceState, VoiceState];
|
||||||
webhookUpdate: [TextChannel];
|
webhookUpdate: [TextChannel];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue