# common.ConnectionAlias

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

```ts
type ConnectionAlias = string & { readonly [connectionAliasBrand]: "connection" }
```

Which connection a handle came through.

Two servers on different sockets number their objects from the same place,
so an id alone does not identify anything. This is the other half.
