(partial?: Partial<IntersectStepConfig>)
| 4381 | } |
| 4382 | |
| 4383 | public override clone(partial?: Partial<IntersectStepConfig>) { |
| 4384 | const { config, steps } = this; |
| 4385 | return new IntersectStep( |
| 4386 | { |
| 4387 | stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined), |
| 4388 | }, |
| 4389 | steps.map((step) => step.clone()), |
| 4390 | ); |
| 4391 | } |
| 4392 | } |
| 4393 | |
| 4394 | export interface OptionalMatchStepConfig extends StepConfig { |