mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix: interfaces not importing due to re-export of Snowflake (#5723)
Co-authored-by: Noel <icrawltogo@gmail.com>
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user