Skip to content

Packages  ›  trotsky  ›  Step  ›  config

Step.config() method

Updates the configuration value for a given key on the current step.

Signature:

typescript
config(key: string, value: unknown): this;

Parameters

Parameter

Type

Description

key

string

The configuration key.

value

unknown

The new value.

Returns:

this

The current Step instance.