From e1ecc1a80a9358cdbafbe8542c40b9de8cad467e Mon Sep 17 00:00:00 2001 From: Casper <53900565+Dev-CasperTheGhost@users.noreply.github.com> Date: Wed, 26 Jan 2022 21:45:25 +0100 Subject: [PATCH] fix(typings): mark `RESTOptions` as Partial in `ClientOptions` (#7349) --- packages/discord.js/typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 6b72490eb..065928d1e 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -3553,7 +3553,7 @@ export interface ClientOptions { waitGuildTimeout?: number; sweepers?: SweeperOptions; ws?: WebSocketOptions; - rest?: RESTOptions; + rest?: Partial; } export type ClientPresenceStatus = 'online' | 'idle' | 'dnd';