mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03: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 isThread(): this is ThreadChannel;
|
||||||
public isStage(): this is StageChannel;
|
public isStage(): this is StageChannel;
|
||||||
public isTextBased(): this is TextBasedChannel;
|
public isTextBased(): this is TextBasedChannel;
|
||||||
public isDMBased(): this is PartialGroupDMChannel | DMChannel;
|
public isDMBased(): this is PartialGroupDMChannel | DMChannel | PartialDMChannel;
|
||||||
public isVoiceBased(): this is VoiceBasedChannel;
|
public isVoiceBased(): this is VoiceBasedChannel;
|
||||||
public toString(): ChannelMention;
|
public toString(): ChannelMention;
|
||||||
}
|
}
|
||||||
@@ -4929,6 +4929,7 @@ export type AnyChannel =
|
|||||||
| CategoryChannel
|
| CategoryChannel
|
||||||
| DMChannel
|
| DMChannel
|
||||||
| PartialDMChannel
|
| PartialDMChannel
|
||||||
|
| PartialGroupDMChannel
|
||||||
| NewsChannel
|
| NewsChannel
|
||||||
| StageChannel
|
| StageChannel
|
||||||
| StoreChannel
|
| StoreChannel
|
||||||
|
|||||||
Reference in New Issue
Block a user