Merge pull request #747 from DarkGuy10/patch-1

fix(typings): add strict `type` prop to `PartialGroupDMChannel`
This commit is contained in:
Elysia 2023-07-03 22:56:22 +07:00 committed by GitHub
commit 9e7be09c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
typings/index.d.ts vendored
View File

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