@alextheman/utility - v4.3.5
    Preparing search index...

    Interface CreateFormDataOptionsNullableResolution<Key>

    Options for resolving form data when it may be nullable, but not both.

    interface CreateFormDataOptionsNullableResolution<Key extends RecordKey> {
        arrayResolution?:
            | FormDataArrayResolutionStrategy
            | Partial<Record<Key, FormDataArrayResolutionStrategy>>;
        nullableResolution:
            | FormDataNullableResolutionStrategy
            | Partial<Record<Key, FormDataNullableResolutionStrategy>>;
        nullResolution?: undefined;
        undefinedResolution?: undefined;
    }

    Type Parameters

    • Key extends RecordKey

      The type of the key of the input record.

    Hierarchy

    • CreateFormDataOptionsBase<Key>
      • CreateFormDataOptionsNullableResolution
    Index

    Properties

    arrayResolution?:
        | FormDataArrayResolutionStrategy
        | Partial<Record<Key, FormDataArrayResolutionStrategy>>

    How to resolve any arrays provided in the data (can either stringify them or add them multiple times).

    nullableResolution:
        | FormDataNullableResolutionStrategy
        | Partial<Record<Key, FormDataNullableResolutionStrategy>>

    How to resolve nullable data (May either stringify to 'undefined | null', resolve to an empty string, or omit entirely).

    nullResolution?: undefined

    This must not be provided at the same time as nullableResolution.

    undefinedResolution?: undefined

    This must not be provided at the same time as nullableResolution.