WaterfallStep type

個々のウォーターフォール ステップの関数シグネチャ。

type WaterfallStep<O extends object = {}> = (step: WaterfallStepContext<O>) => Promise<DialogTurnResult>;
type WaterfallStep<O> = (
  step: WaterfallStepContext<O>
) => Promise<DialogTurnResult>