tuil
ReferencePackages@mwillbanks/tuil-workflowAPI

defineStep

function exported by @mwillbanks/tuil-workflow.

View rawEdit

function

Public function exported by @mwillbanks/tuil-workflow.

export function defineStep<TState>(
  step: WorkflowStep<TState>,
): WorkflowStep<TState>;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
stepWorkflowStep<TState>YesSupplies the step value as WorkflowStep<TState>.WorkflowStep

Returns

WorkflowStep<TState> — Returns a value that satisfies WorkflowStep<TState>.

Related types: WorkflowStep

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-workflow

On this page