@tmlmt/cooklang-parser / MaybeScalableQuantity
Type Alias: MaybeScalableQuantity
MaybeScalableQuantity =
QuantityWithExtendedUnit&object
Type Declaration
equivalents?
optionalequivalents:QuantityWithExtendedUnit[]
A list of equivalent quantities/units for this ingredient mention besides the primary quantity. For @salt{1%tsp|5%g}, the main quantity is 1 tsp and the equivalents will contain 5 g.
scalable
scalable:
boolean
Indicates whether this quantity should be scaled when the recipe serving size changes.