/* * @adonisjs/transmit * * (c) AdonisJS * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import type { TransmitConfig } from '@boringnode/transmit/types' export function defineConfig(config: T): T { if (config.transport && typeof config.transport.channel === 'undefined') { config.transport.channel = 'transmit::broadcast' } return config }