import { trimScale as coreTrimScale } from '@dinero.js/core' ; import type { TrimScaleParams } from '@dinero.js/core' ; param dineroObject returns export function trimScale < TAmount > ( ... [ dineroObject ] ) { const { calculator } = dineroObject ; const trimScaleFn = coreTrimScale ( calculator ) ; return trimScaleFn ( dineroObject ) ; }