Millwork
    Preparing search index...

    Interface MoneyOptions

    Options of the money codec.

    interface MoneyOptions {
        currency?: string;
        wire?: MoneyWire;
    }
    Index
    currency?: string

    The currency for the 'amount' wire, which has a bare amount in minor units.

    wire?: MoneyWire

    The wire form. The default is 'minor': { amount: 1999, currency: 'USD' }.