Skip to content

Commit

Permalink
types(UserContextMenuCommandInteraction): Nullify targetMember (#9844)
Browse files Browse the repository at this point in the history
types(UserContextMenuCommandInteraction): nullify `targetMember`

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
Jiralite and kodiakhq[bot] authored Sep 29, 2023
1 parent 931c3ed commit 3c043d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3171,7 +3171,7 @@ export class UserContextMenuCommandInteraction<
> extends ContextMenuCommandInteraction<Cached> {
public commandType: ApplicationCommandType.User;
public get targetUser(): User;
public get targetMember(): CacheTypeReducer<Cached, GuildMember, APIInteractionGuildMember>;
public get targetMember(): CacheTypeReducer<Cached, GuildMember, APIInteractionGuildMember> | null;
public inGuild(): this is UserContextMenuCommandInteraction<'raw' | 'cached'>;
public inCachedGuild(): this is UserContextMenuCommandInteraction<'cached'>;
public inRawGuild(): this is UserContextMenuCommandInteraction<'raw'>;
Expand Down

0 comments on commit 3c043d8

Please sign in to comment.