Function mapAmountSerializer
- mapAmountSerializer<I, D>(serializer: NumberSerializer, identifier: I, decimals: D): Serializer<Amount<I, D>, Amount<I, D>>
-
Type Parameters
-
I extends string = string
-
D extends number = number
Parameters
-
-
identifier: I
-
decimals: D
Converts a number serializer into an amount serializer by providing an amount identifier and decimals.