mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +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,
|
APIMessage as RawMessage,
|
||||||
APIOverwrite as RawOverwrite,
|
APIOverwrite as RawOverwrite,
|
||||||
APIRole as RawRole,
|
APIRole as RawRole,
|
||||||
Snowflake,
|
Snowflake as APISnowflake,
|
||||||
} from 'discord-api-types/v8';
|
} from 'discord-api-types/v8';
|
||||||
import { EventEmitter } from 'events';
|
import { EventEmitter } from 'events';
|
||||||
import { PathLike } from 'fs';
|
import { PathLike } from 'fs';
|
||||||
@@ -78,8 +78,6 @@ declare module 'discord.js' {
|
|||||||
|
|
||||||
export const version: string;
|
export const version: string;
|
||||||
|
|
||||||
export { Snowflake };
|
|
||||||
|
|
||||||
//#region Classes
|
//#region Classes
|
||||||
|
|
||||||
export class Activity {
|
export class Activity {
|
||||||
@@ -3607,6 +3605,8 @@ declare module 'discord.js' {
|
|||||||
execArgv?: string[];
|
execArgv?: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Snowflake = APISnowflake;
|
||||||
|
|
||||||
interface SplitOptions {
|
interface SplitOptions {
|
||||||
maxLength?: number;
|
maxLength?: number;
|
||||||
char?: string;
|
char?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user