import { Stream , just , map , mergeArray , switchLatest } from 'most' ; export function switchMerge < A > ( streams$ ) ; export function switchMerge < A > ( streams$ ) ; export function switchMerge < A > ( streams$ ) { return switchLatest < A > ( map ( ( streams ) => mergeArray ( streams ) , streams$ ) ) ; }