UNPKG

bigint-money

Version:

A Money class for high precision calculations using the ESnext bigint type.

13 lines (12 loc) 286 B
/** * Thrown when trying to use unsafe integers. * * These require explicit conversions first. */ export declare class UnsafeIntegerError extends Error { } /** * Thrown when, for example trying to add USD to YEN */ export declare class IncompatibleCurrencyError extends Error { }