Merge pull request #747 from DarkGuy10/patch-1
fix(typings): add strict `type` prop to `PartialGroupDMChannel`
This commit is contained in:
commit
9e7be09c6f
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@ -2571,6 +2571,7 @@ export class PartialGroupDMChannel extends TextBasedChannelMixin(Channel, [
|
|||||||
'setNSFW',
|
'setNSFW',
|
||||||
]) {
|
]) {
|
||||||
private constructor(client: Client, data: RawPartialGroupDMChannelData);
|
private constructor(client: Client, data: RawPartialGroupDMChannelData);
|
||||||
|
public type: 'GROUP_DM';
|
||||||
public name: string | null;
|
public name: string | null;
|
||||||
public icon: string | null;
|
public icon: string | null;
|
||||||
public readonly recipients: Collection<Snowflake, User>;
|
public readonly recipients: Collection<Snowflake, User>;
|
||||||
|
Loading…
Reference in New Issue
Block a user