import { transformScale as coreTransformScale } from '@dinero.js/core' ; import type { TransformScaleParams } from '@dinero.js/core' ; param dineroObject param newScale returns export function transformScale < TAmount > ( ... [ dineroObject , newScale ] ) { const { calculator } = dineroObject ; const transformScaleFn = coreTransformScale ( calculator ) ; return transformScaleFn ( dineroObject , newScale ) ; }