From ba472bdc599e1860754e59fce4806610f06ac682 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Fri, 15 Nov 2024 12:17:30 +0100 Subject: [PATCH] types(FetchSubscriptionOptions): add missing `cache` option --- packages/discord.js/src/managers/SubscriptionManager.js | 1 + packages/discord.js/typings/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/discord.js/src/managers/SubscriptionManager.js b/packages/discord.js/src/managers/SubscriptionManager.js index a555cefde2be..8885f7e958fe 100644 --- a/packages/discord.js/src/managers/SubscriptionManager.js +++ b/packages/discord.js/src/managers/SubscriptionManager.js @@ -26,6 +26,7 @@ class SubscriptionManager extends CachedManager { /** * Options used to fetch a subscription * @typedef {BaseFetchOptions} FetchSubscriptionOptions + * @property {boolean} [cache=true] Whether to cache the fetched subscriptions * @property {SKUResolvable} sku The SKU to fetch the subscription for * @property {Snowflake} subscriptionId The id of the subscription to fetch */ diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 7b8863410ad7..0449616e7de1 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -4113,6 +4113,7 @@ export class EntitlementManager extends CachedManager