import { AlertNotifyWhenType } from '../types' ; export function getAlertNotifyWhenType ( notifyWhen , throttle ) { return notifyWhen ? notifyWhen ! : throttle ? 'onThrottleInterval' : 'onActiveAlert' ; }