diff --git a/typings/index.d.ts b/typings/index.d.ts index 903600656..ac8da4bf7 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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'; @@ -78,8 +78,6 @@ declare module 'discord.js' { export const version: string; - export { Snowflake }; - //#region Classes export class Activity { @@ -3607,6 +3605,8 @@ declare module 'discord.js' { execArgv?: string[]; } + type Snowflake = APISnowflake; + interface SplitOptions { maxLength?: number; char?: string;