export interface export interface IIPRange { type { string } memberof start : string ; type { string } memberof end ? : string ; } export param { IIPRange } ipRange returns { string } export function ipRangeToString ( ipRange ) { return ipRange . end ? `${ ipRange . start }-${ ipRange . end }` : ipRange . start ; }