Skip to content
Français

VariableQuestion

import type { VariableQuestion } from "@elie-laloum/outpost";
  • keyRequired
    string
    Name of the missing variable, as written between {{ }} in the brief file.
  • signalOptional
    AbortSignal | undefined
    Cancellation signal of the attach, when it has one; stop waiting for an answer once it aborts.

Promise<string>

export type VariableQuestion = (
  key: string,
  signal?: AbortSignal,
) => Promise<string>;