Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: interfaces not importing due to re-export of Snowflake #5723

Merged
merged 2 commits into from Jun 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 @@ -3615,6 +3613,8 @@ declare module 'discord.js' {
execArgv?: string[];
}

type Snowflake = APISnowflake;

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