Skip to content

Commit ba472bd

Browse files
committed
types(FetchSubscriptionOptions): add missing cache option
1 parent a27cd9c commit ba472bd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/discord.js/src/managers/SubscriptionManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class SubscriptionManager extends CachedManager {
2626
/**
2727
* Options used to fetch a subscription
2828
* @typedef {BaseFetchOptions} FetchSubscriptionOptions
29+
* @property {boolean} [cache=true] Whether to cache the fetched subscriptions
2930
* @property {SKUResolvable} sku The SKU to fetch the subscription for
3031
* @property {Snowflake} subscriptionId The id of the subscription to fetch
3132
*/

packages/discord.js/typings/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4113,6 +4113,7 @@ export class EntitlementManager extends CachedManager<Snowflake, Entitlement, En
41134113
}
41144114

41154115
export interface FetchSubscriptionOptions extends BaseFetchOptions {
4116+
cache?: boolean;
41164117
sku: SKUResolvable;
41174118
subscriptionId: Snowflake;
41184119
}

0 commit comments

Comments
 (0)