@tmlmt/cooklang-parser / Step
Interface: Step
Represents a step in a recipe.
Properties
items
items:
StepItem[]
The items in the step.
optional?
optionaloptional?:boolean
Whether the step has been marked as optional ("[?]")
type
type:
"step"
variants?
optionalvariants?:string[]
Optional list of variant names this step belongs to