effect-io-ai

Package: @effect/cli
Module: Prompt

Prompt.Prompt.ActionDefinition

Represents the definition of an Action.

Required to create a Data.TaggedEnum with generic type arguments.

Signature

export interface ActionDefinition extends TaggedEnum.WithGenerics<2> {
    readonly taggedEnum: Action<this["A"], this["B"]>
  }

Source

Since v1.0.0