Skip to content

Commit 452dec5

Browse files
authored
docs: Remove @private constructor documentation (#8255)
1 parent 64f8140 commit 452dec5

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

Diff for: packages/discord.js/src/structures/Component.js

-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ const isEqual = require('fast-deep-equal');
66
* Represents a component
77
*/
88
class Component {
9-
/**
10-
* Creates a new component from API data
11-
* @param {APIMessageComponent} data The API component data
12-
* @private
13-
*/
149
constructor(data) {
1510
/**
1611
* The API data associated with this component

Diff for: packages/discord.js/src/structures/InteractionResponse.js

-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ const { ErrorCodes } = require('../errors');
77
* Represents an interaction's response
88
*/
99
class InteractionResponse {
10-
/**
11-
* @param {BaseInteraction} interaction The interaction associated with this response
12-
* @param {Snowflake?} id The interaction id associated with the original response
13-
* @private
14-
*/
1510
constructor(interaction, id) {
1611
/**
1712
* The interaction associated with the interaction response

0 commit comments

Comments
 (0)