Skip to main content

Type Alias: CommutableComponentDriverOption

CommutableComponentDriverOption = Omit<IComponentDriverOption, "parts">

Defined in: packages/core/src/partTypes.ts:159

The shared, component-agnostic slice of an IComponentDriverOption that flows unchanged down the driver tree — every field EXCEPT the component-specific parts. A parent driver hands this to the constructors of the children it creates dynamically (the list helpers, ComponentDriver.commutableOption), so it deliberately carries no parts: each child owns its own.

Today IComponentDriverOption has only parts, so this resolves to an empty object — which is exactly the honest shape, and why ComponentDriver.commutableOption no longer fakes a parts: {} as T payload. It is the single home for future universal options (mirroring ITestEngineOption's intent), which it will pick up automatically.