Skip to content

Commit f929cb6

Browse files
committed
fix: getAllCustomCommands return type
1 parent e003db1 commit f929cb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/modules/command-manager.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ type CommandManager = {
100100
hasSystemCommand: (id: string) => boolean;
101101

102102
getCustomCommandById: (id: string) => Command | undefined;
103-
getAllCustomCommands: () => Command[];
103+
getAllCustomCommands: () => CommandDefinition[];
104104
/**
105105
* Creates a new custom command or updates an existing one.
106106
* @param command the command to create/update.

0 commit comments

Comments
 (0)