From 18f065867ce7f8369e2c660b62b093e092433822 Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sat, 3 Nov 2018 13:09:56 -0400 Subject: [PATCH] Fix #2924 with a bandage (Node typings not updated) --- typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 30fe364a9..2672d1845 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -921,7 +921,7 @@ declare module 'discord.js' { public manager: ShardingManager; public process: ChildProcess; public ready: boolean; - public worker: Worker; + public worker: any; public eval(script: string): Promise; public eval(fn: (client: Client) => T): Promise; public fetchClientValue(prop: string): Promise; @@ -954,7 +954,7 @@ declare module 'discord.js' { public readonly count: number; public readonly id: number; public mode: ShardingManagerMode; - public parentPort: MessagePort; + public parentPort: any; public broadcastEval(script: string): Promise; public broadcastEval(fn: (client: Client) => T): Promise; public fetchClientValues(prop: string): Promise;