diff --git a/packages/discord.js/src/client/websocket/WebSocketManager.js b/packages/discord.js/src/client/websocket/WebSocketManager.js index 5354bed91..2648cbd76 100644 --- a/packages/discord.js/src/client/websocket/WebSocketManager.js +++ b/packages/discord.js/src/client/websocket/WebSocketManager.js @@ -36,7 +36,7 @@ const UNRESUMABLE_CLOSE_CODES = [1000, GatewayCloseCodes.AlreadyAuthenticated, G * The WebSocket manager for this client. * This class forwards raw dispatch events, * read more about it here {@link https://discord.com/developers/docs/topics/gateway} - * @extends EventEmitter + * @extends {EventEmitter} */ class WebSocketManager extends EventEmitter { constructor(client) { diff --git a/packages/discord.js/src/client/websocket/WebSocketShard.js b/packages/discord.js/src/client/websocket/WebSocketShard.js index 9ffbd9143..b3dd2c493 100644 --- a/packages/discord.js/src/client/websocket/WebSocketShard.js +++ b/packages/discord.js/src/client/websocket/WebSocketShard.js @@ -20,6 +20,7 @@ try { /** * Represents a Shard's WebSocket connection + * @extends {EventEmitter} */ class WebSocketShard extends EventEmitter { constructor(manager, id) { diff --git a/packages/discord.js/src/sharding/Shard.js b/packages/discord.js/src/sharding/Shard.js index 646e5e21d..a0833c5fe 100644 --- a/packages/discord.js/src/sharding/Shard.js +++ b/packages/discord.js/src/sharding/Shard.js @@ -14,7 +14,7 @@ let Worker = null; * A self-contained shard created by the {@link ShardingManager}. Each one has a {@link ChildProcess} that contains * an instance of the bot and its {@link Client}. When its child process/worker exits for any reason, the shard will * spawn a new one to replace it as necessary. - * @extends EventEmitter + * @extends {EventEmitter} */ class Shard extends EventEmitter { constructor(manager, id) { diff --git a/packages/discord.js/src/structures/Integration.js b/packages/discord.js/src/structures/Integration.js index 456fe938e..1afc8f14a 100644 --- a/packages/discord.js/src/structures/Integration.js +++ b/packages/discord.js/src/structures/Integration.js @@ -20,7 +20,8 @@ const IntegrationApplication = require('./IntegrationApplication'); */ /** - * Represents a guild integration. + * Represents a guild integration. + * @extends {Base} */ class Integration extends Base { constructor(client, data, guild) { diff --git a/packages/discord.js/src/structures/ModalSubmitInteraction.js b/packages/discord.js/src/structures/ModalSubmitInteraction.js index 0af1e4d91..458b86d50 100644 --- a/packages/discord.js/src/structures/ModalSubmitInteraction.js +++ b/packages/discord.js/src/structures/ModalSubmitInteraction.js @@ -23,6 +23,7 @@ const getMessage = lazy(() => require('./Message').Message); /** * Represents a modal interaction + * @extends {BaseInteraction} * @implements {InteractionResponses} */ class ModalSubmitInteraction extends BaseInteraction { diff --git a/packages/discord.js/src/structures/VoiceState.js b/packages/discord.js/src/structures/VoiceState.js index 5d644a928..cb648ef79 100644 --- a/packages/discord.js/src/structures/VoiceState.js +++ b/packages/discord.js/src/structures/VoiceState.js @@ -6,6 +6,7 @@ const { Error, TypeError, ErrorCodes } = require('../errors'); /** * Represents the voice state for a Guild Member. + * @extends {Base} */ class VoiceState extends Base { constructor(guild, data) { diff --git a/packages/discord.js/src/structures/Widget.js b/packages/discord.js/src/structures/Widget.js index 146ec7eac..344c81a47 100644 --- a/packages/discord.js/src/structures/Widget.js +++ b/packages/discord.js/src/structures/Widget.js @@ -7,6 +7,7 @@ const WidgetMember = require('./WidgetMember'); /** * Represents a Widget. + * @extends {Base} */ class Widget extends Base { constructor(client, data) { diff --git a/packages/discord.js/src/structures/WidgetMember.js b/packages/discord.js/src/structures/WidgetMember.js index 472d9e2dc..d7aca2172 100644 --- a/packages/discord.js/src/structures/WidgetMember.js +++ b/packages/discord.js/src/structures/WidgetMember.js @@ -4,6 +4,7 @@ const Base = require('./Base'); /** * Represents a WidgetMember. + * @extends {Base} */ class WidgetMember extends Base { /** diff --git a/packages/discord.js/src/structures/interfaces/Application.js b/packages/discord.js/src/structures/interfaces/Application.js index 25cc20193..5e81465e2 100644 --- a/packages/discord.js/src/structures/interfaces/Application.js +++ b/packages/discord.js/src/structures/interfaces/Application.js @@ -5,6 +5,7 @@ const Base = require('../Base'); /** * Represents an OAuth2 Application. + * @extends {Base} * @abstract */ class Application extends Base { diff --git a/packages/discord.js/src/structures/interfaces/Collector.js b/packages/discord.js/src/structures/interfaces/Collector.js index 8b1054c14..14d00cd04 100644 --- a/packages/discord.js/src/structures/interfaces/Collector.js +++ b/packages/discord.js/src/structures/interfaces/Collector.js @@ -25,6 +25,7 @@ const { flatten } = require('../../util/Util'); /** * Abstract class for defining a new Collector. + * @extends {EventEmitter} * @abstract */ class Collector extends EventEmitter {