import { safeMinimum } from '@dinero.js/core' ; import type { MinimumParams } from '@dinero.js/core' ; param dineroObjects returns export function minimum < TAmount > ( ... [ dineroObjects ] ) { const { calculator } = dineroObjects [ 0 ] ; const minimumFn = safeMinimum ( calculator ) ; return minimumFn ( dineroObjects ) ; }