# types.MenuItem

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/types.ts#L471
- **Page:** https://libtmux.org/en/ts/latest/reference/types-menuitem/

A menu entry, or a horizontal rule.

tmux spells a separator as one empty argument rather than a name/key/command
triple, so modelling it as a distinct value keeps callers from fabricating
empty fields that tmux would reject.
