From 09f65b724b0d2f36bbe89b83570c0d18093b5126 Mon Sep 17 00:00:00 2001 From: MrMythicalYT <91077061+MrMythicalYT@users.noreply.github.com> Date: Sat, 19 Nov 2022 16:43:00 -0500 Subject: [PATCH] docs: add `@extends` for select menu classes (#8824) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/src/structures/SelectMenuBuilder.js | 1 + packages/discord.js/src/structures/SelectMenuComponent.js | 1 + packages/discord.js/src/structures/SelectMenuInteraction.js | 1 + packages/discord.js/src/structures/SelectMenuOptionBuilder.js | 1 + 4 files changed, 4 insertions(+) diff --git a/packages/discord.js/src/structures/SelectMenuBuilder.js b/packages/discord.js/src/structures/SelectMenuBuilder.js index caa971b468e9..bae3e66fc5e8 100644 --- a/packages/discord.js/src/structures/SelectMenuBuilder.js +++ b/packages/discord.js/src/structures/SelectMenuBuilder.js @@ -7,6 +7,7 @@ let deprecationEmitted = false; /** * @deprecated Use {@link StringSelectMenuBuilder} instead. + * @extends {StringSelectMenuBuilder} */ class SelectMenuBuilder extends StringSelectMenuBuilder { constructor(...params) { diff --git a/packages/discord.js/src/structures/SelectMenuComponent.js b/packages/discord.js/src/structures/SelectMenuComponent.js index 850c985275c2..540acb7e2b8b 100644 --- a/packages/discord.js/src/structures/SelectMenuComponent.js +++ b/packages/discord.js/src/structures/SelectMenuComponent.js @@ -7,6 +7,7 @@ let deprecationEmitted = false; /** * @deprecated Use {@link StringSelectMenuComponent} instead. + * @extends {StringSelectMenuComponent} */ class SelectMenuComponent extends StringSelectMenuComponent { constructor(...params) { diff --git a/packages/discord.js/src/structures/SelectMenuInteraction.js b/packages/discord.js/src/structures/SelectMenuInteraction.js index 9ee092d008b1..923725ece6ed 100644 --- a/packages/discord.js/src/structures/SelectMenuInteraction.js +++ b/packages/discord.js/src/structures/SelectMenuInteraction.js @@ -7,6 +7,7 @@ let deprecationEmitted = false; /** * @deprecated Use {@link StringSelectMenuInteraction} instead. + * @extends {StringSelectMenuInteraction} */ class SelectMenuInteraction extends StringSelectMenuInteraction { constructor(...params) { diff --git a/packages/discord.js/src/structures/SelectMenuOptionBuilder.js b/packages/discord.js/src/structures/SelectMenuOptionBuilder.js index ac4d265379d7..4646848ce30b 100644 --- a/packages/discord.js/src/structures/SelectMenuOptionBuilder.js +++ b/packages/discord.js/src/structures/SelectMenuOptionBuilder.js @@ -7,6 +7,7 @@ let deprecationEmitted = false; /** * @deprecated Use {@link StringSelectMenuOptionBuilder} instead. + * @extends {StringSelectMenuOptionBuilder} */ class SelectMenuOptionBuilder extends StringSelectMenuOptionBuilder { constructor(...params) {