Documentation
    Preparing search index...

    Type Alias Value<T>

    Value: T extends (infer U)[]
        ? (U extends File ? U | IFileProps : U)[]
        : T extends File ? T | IFileProps : T

    Value type of the FormDataInput.

    Value<T> is a type for the property value defined in the FormDataInput.

    If the original value type is a File class, Value<T> converts it to an union type of File and IFileProps type which is a structured data for the URI file location in the React Native environment.

    Type Parameters

    • T

    contracts/common.md#principled-implementation Distribution examines each optional or union alternative separately; mutable arrays convert their immediate File elements, File becomes File or its descriptor, and other scalar alternatives retain their types.

    contracts/common.md#clear-and-simple-design One value conversion owns scalar and array handling, so the outer mapped type applies one rule to every field.

    contracts/common.md#prohibited-implementation-shortcuts It is a type and adds no runtime behavior.

    contracts/common.md#meaningful-documentation The comment states the conversion for File values.