Skip to content

Commit

Permalink
fix: interfaces not importing due to re-export of Snowflake (#5723)
Browse files Browse the repository at this point in the history
Co-authored-by: Noel <icrawltogo@gmail.com>
  • Loading branch information
iShibi and iCrawl committed Jun 2, 2021
1 parent 53d952a commit 086c3f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions typings/index.d.ts
Expand Up @@ -69,7 +69,7 @@ declare module 'discord.js' {
APIMessage as RawMessage,
APIOverwrite as RawOverwrite,
APIRole as RawRole,
Snowflake,
Snowflake as APISnowflake,
} from 'discord-api-types/v8';
import { EventEmitter } from 'events';
import { PathLike } from 'fs';
Expand All @@ -78,8 +78,6 @@ declare module 'discord.js' {

export const version: string;

export { Snowflake };

//#region Classes

export class Activity {
Expand Down Expand Up @@ -3607,6 +3605,8 @@ declare module 'discord.js' {
execArgv?: string[];
}

type Snowflake = APISnowflake;

interface SplitOptions {
maxLength?: number;
char?: string;
Expand Down

0 comments on commit 086c3f0

Please sign in to comment.