Type Alias: Host ​
Defined in: types.ts:73
Union type for host parameter. Accepts either a Hostname or IpAddress branded type. Used in function signatures that accept both hostnames and IP addresses.
Example ​
typescript
// Both are valid Host values
const host1: Host = Hostname('example.com');
const host2: Host = IpAddress('192.168.1.1');