import { safeAdd } from '@dinero.js/core' ; import type { AddParams } from '@dinero.js/core' ; param augend param addend returns export function add < TAmount > ( ... [ augend , addend ] ) { const { calculator } = augend ; const addFn = safeAdd ( calculator ) ; return addFn ( augend , addend ) ; }