Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed Jul 19, 2023
1 parent 227fa71 commit ce3f66c
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 @@ -161,6 +161,7 @@ import {
APIGuildOnboardingPrompt,
APIGuildOnboardingPromptOption,
GuildOnboardingPromptType,
AttachmentFlags,
} from 'discord-api-types/v10';
import { ChildProcess } from 'node:child_process';
import { EventEmitter } from 'node:events';
Expand Down Expand Up @@ -2078,8 +2079,7 @@ export class Attachment {
public toJSON(): unknown;
}

export type AttachmentFlagsString = any;
// export type AttachmentFlagsString = keyof typeof AttachmentFlags;
export type AttachmentFlagsString = keyof typeof AttachmentFlags;

export class AttachmentFlagsBitField extends BitField<AttachmentFlagsString> {
public static FLAGS: Record<AttachmentFlagsString, number>;
Expand Down

0 comments on commit ce3f66c

Please sign in to comment.