Value: 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