types(anychannel): add PartialGroupDMChannel (#7472)

This commit is contained in:
Rodry
2022-02-23 07:39:33 +00:00
committed by GitHub
parent d1d1b076be
commit cf669301c7

View File

@@ -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