UNPKG

@dinero.js/currencies

Version:

Common currency implementations for Dinero.js

15 lines (14 loc) 300 B
export declare type Currency<TAmount> = { /** * The unique code of the currency. */ readonly code: string; /** * The base, or radix of the currency. */ readonly base: TAmount; /** * The exponent of the currency. */ readonly exponent: TAmount; };