schema-components - v3.7.0
    Preparing search index...

    Type Alias InferredValue<T, Ref, P, Mode>

    InferredValue: NarrowAtPath<InferSchemaValue<T, Ref, Mode>, P>

    Resolve the schema-driven value type for either I/O direction.

    Thin convenience over InferredOutputValue / InferredInputValue so consumers that decide between the two at the type level (e.g. a generic wrapper component) can pass the chosen direction as a type argument rather than branch on it with conditional types. Falls back to unknown when the schema's value type cannot be statically inferred, identical to the underlying helpers.

    Type Parameters

    • T
    • Ref extends string | undefined = undefined
    • P extends string | undefined = undefined
    • Mode extends SchemaIoSide = "output"