From ae7269088b99dfff614ea66ba9c67baeb1bd9169 Mon Sep 17 00:00:00 2001 From: Kyra Date: Wed, 6 Feb 2019 18:15:05 +0100 Subject: [PATCH] typings(ShardClientUtil): fix `id` property type (#3054) Ref: https://github.com/discordjs/discord.js/blob/d98d464d748a75e242b6e95a1308235bf4016e1b/src/sharding/ShardClientUtil.js#L50 --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index a2607c18a..56f941075 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -951,7 +951,7 @@ declare module 'discord.js' { public client: Client; public readonly count: number; - public readonly id: number; + public readonly id: number | number[]; public mode: ShardingManagerMode; public parentPort: any; public broadcastEval(script: string): Promise;