refactor(tui): remove hidden command metadata
This commit is contained in:
parent
00093c70c1
commit
e8964ce672
3 changed files with 1 additions and 4 deletions
|
|
@ -255,7 +255,6 @@ function useCommands(): Accessor<readonly KeymapCommand[]> {
|
|||
: undefined,
|
||||
palette: entry.command.namespace === "palette" ? true : undefined,
|
||||
slash: entry.command.slash,
|
||||
hidden: typeof entry.command.hidden === "boolean" ? entry.command.hidden : undefined,
|
||||
suggested:
|
||||
typeof entry.command.suggested === "boolean" || typeof entry.command.suggested === "function"
|
||||
? (entry.command.suggested as boolean | (() => boolean))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue