Skip to content

Commit

Permalink
Revert "types(FetchSubscriptionOptions): add missing cache option"
Browse files Browse the repository at this point in the history
This reverts commit ba472bd.
  • Loading branch information
sdanialraza committed Nov 15, 2024
1 parent ba472bd commit 14b9f7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/discord.js/src/managers/SubscriptionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ 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
*/
Expand Down
1 change: 0 additions & 1 deletion packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4113,7 +4113,6 @@ export class EntitlementManager extends CachedManager<Snowflake, Entitlement, En
}

export interface FetchSubscriptionOptions extends BaseFetchOptions {
cache?: boolean;
sku: SKUResolvable;
subscriptionId: Snowflake;
}
Expand Down

0 comments on commit 14b9f7b

Please sign in to comment.