Genel bakış
typeCore Runtime

BehaviorInput

Extracts the input type from a behavior.

Signature

tsSignature
export type BehaviorInput<T> =
T extends Behavior<infer I, infer _O, infer _E, infer _C> ? I : never;

Imports

tsImport
import { BehaviorInput } from "@/lib/flow/core/runtime";
import { BehaviorInput } from "@/lib/flow";

Type Parameters

T

Behavior type to inspect.

Behavior

Executable Flow workflow unit.

type

Source

tsflow/core/runtime.ts:65-66
export type BehaviorInput<T> =
T extends Behavior<infer I, infer _O, infer _E, infer _C> ? I : never;