# types.MenuItem

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

```ts
type MenuItem = MenuEntry | "separator"
```

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.
