mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(anychannel): add PartialGroupDMChannel (#7472)
This commit is contained in:
3
packages/discord.js/typings/index.d.ts
vendored
3
packages/discord.js/typings/index.d.ts
vendored
@@ -552,7 +552,7 @@ export abstract class Channel extends Base {
|
||||
public isThread(): this is ThreadChannel;
|
||||
public isStage(): this is StageChannel;
|
||||
public isTextBased(): this is TextBasedChannel;
|
||||
public isDMBased(): this is PartialGroupDMChannel | DMChannel;
|
||||
public isDMBased(): this is PartialGroupDMChannel | DMChannel | PartialDMChannel;
|
||||
public isVoiceBased(): this is VoiceBasedChannel;
|
||||
public toString(): ChannelMention;
|
||||
}
|
||||
@@ -4929,6 +4929,7 @@ export type AnyChannel =
|
||||
| CategoryChannel
|
||||
| DMChannel
|
||||
| PartialDMChannel
|
||||
| PartialGroupDMChannel
|
||||
| NewsChannel
|
||||
| StageChannel
|
||||
| StoreChannel
|
||||
|
||||
Reference in New Issue
Block a user