Skip to content

Commit

Permalink
feat: add deprecation in the types
Browse files Browse the repository at this point in the history
  • Loading branch information
Syjalo committed Jul 22, 2023
1 parent f950138 commit 786e513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4861,6 +4861,7 @@ export interface ClientEvents {
typingStart: [typing: Typing];
userUpdate: [oldUser: User | PartialUser, newUser: User];
voiceStateUpdate: [oldState: VoiceState, newState: VoiceState];
/** @deprecated Use {@link Client#event:webhooksUpdate} instead */
webhookUpdate: [channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel];
webhooksUpdate: [channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel];
interactionCreate: [interaction: Interaction];
Expand Down

0 comments on commit 786e513

Please sign in to comment.