mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 05:54:44 +12:00
types(UserContextMenuCommandInteraction): Nullify targetMember
(#9844)
types(UserContextMenuCommandInteraction): nullify `targetMember` Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
parent
931c3ed593
commit
3c043d83a9
1 changed files with 1 additions and 1 deletions
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
|
@ -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'>;
|
||||
|
|
Loading…
Reference in a new issue