⚠️ This is pre-release documentation for v3. For stable docs, visit v2.
Skip to content

@tmlmt/cooklang-parser / RecipeWithFactor

Interface: RecipeWithFactor

Represents a recipe together with a scaling factor

Properties

choices?

optional choices: RecipeChoices

The choices for alternative ingredients.


factor

factor: number

The factor the recipe is scaled by.


recipe

recipe: Recipe

The recipe that was added.