# types.Digit

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/types.ts#L178
- **Page:** https://libtmux.org/en/ts/latest/reference/types-digit/

```ts
type Digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
```

One decimal character, for building a percentage's shape in the type system.

These three exist so `"101%"` is a compile error rather than a runtime one.
