Skip to content

Commit

Permalink
docs(jsdoc): correct submenu function args order (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Congiary authored Jun 5, 2024
1 parent 27b0bbc commit 45dfd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/menu-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export class MenuTemplate<Context> {
* })
* submenuTemplate.manualRow(createBackMainMenuButtons())
*
* menuTemplate.submenu('enter submenu', 'unique', submenuTemplate)
* menuTemplate.submenu('unique', submenuTemplate, { text: 'enter submenu' })
*/
submenu(
uniqueIdentifier: string,
Expand Down

0 comments on commit 45dfd2b

Please sign in to comment.