// semi colons are not permitted in pusher channel names
export const formatChannelName = (channel: string) =>
    channel.replace(/:+/g, '-')
