mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
Fix #2924 with a bandage (Node typings not updated)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -921,7 +921,7 @@ declare module 'discord.js' {
|
|||||||
public manager: ShardingManager;
|
public manager: ShardingManager;
|
||||||
public process: ChildProcess;
|
public process: ChildProcess;
|
||||||
public ready: boolean;
|
public ready: boolean;
|
||||||
public worker: Worker;
|
public worker: any;
|
||||||
public eval(script: string): Promise<any>;
|
public eval(script: string): Promise<any>;
|
||||||
public eval<T>(fn: (client: Client) => T): Promise<T[]>;
|
public eval<T>(fn: (client: Client) => T): Promise<T[]>;
|
||||||
public fetchClientValue(prop: string): Promise<any>;
|
public fetchClientValue(prop: string): Promise<any>;
|
||||||
@@ -954,7 +954,7 @@ declare module 'discord.js' {
|
|||||||
public readonly count: number;
|
public readonly count: number;
|
||||||
public readonly id: number;
|
public readonly id: number;
|
||||||
public mode: ShardingManagerMode;
|
public mode: ShardingManagerMode;
|
||||||
public parentPort: MessagePort;
|
public parentPort: any;
|
||||||
public broadcastEval(script: string): Promise<any[]>;
|
public broadcastEval(script: string): Promise<any[]>;
|
||||||
public broadcastEval<T>(fn: (client: Client) => T): Promise<T[]>;
|
public broadcastEval<T>(fn: (client: Client) => T): Promise<T[]>;
|
||||||
public fetchClientValues(prop: string): Promise<any[]>;
|
public fetchClientValues(prop: string): Promise<any[]>;
|
||||||
|
|||||||
Reference in New Issue
Block a user