Skip to content

Commit

Permalink
fix(types): string is not guaranteed to be the known enum
Browse files Browse the repository at this point in the history
  • Loading branch information
almostSouji committed Aug 26, 2023
1 parent 61ed5e5 commit e5bcd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5412,8 +5412,8 @@ interface GuildAuditLogsTypes {
export type GuildAuditLogsActionType = GuildAuditLogsTypes[keyof GuildAuditLogsTypes][1] | 'All';

export interface GuildAuditLogsEntryExtraField {
[AuditLogEvent.MemberKick]: { integrationType: IntegrationType };
[AuditLogEvent.MemberRoleUpdate]: { integrationType: IntegrationType };
[AuditLogEvent.MemberKick]: { integrationType: string };
[AuditLogEvent.MemberRoleUpdate]: { integrationType: string };
[AuditLogEvent.MemberPrune]: { removed: number; days: number };
[AuditLogEvent.MemberMove]: { channel: VoiceBasedChannel | { id: Snowflake }; count: number };
[AuditLogEvent.MessageDelete]: { channel: GuildTextBasedChannel | { id: Snowflake }; count: number };
Expand Down

0 comments on commit e5bcd6d

Please sign in to comment.