Skip to content

Commit 0cb8be4

Browse files
authored
docs(builders): edited docs to correctly link to splice (#11430)
fix(builders): edited docs to correctly link to splice StringSelectMenuBuilder.splice()'s docs incorrectly linked to slice instead of splice in MDN docs, fixed that
1 parent 77e7672 commit 0cb8be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/builders/src/components/selectMenu/StringSelectMenu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class StringSelectMenuBuilder extends BaseSelectMenuBuilder<APIStringSele
108108
*
109109
* @remarks
110110
* This method behaves similarly
111-
* to {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/slice | Array.prototype.splice()}.
111+
* to {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice()}.
112112
* It's useful for modifying and adjusting the order of existing options.
113113
* @example
114114
* Remove the first option:

0 commit comments

Comments
 (0)