Type alias ToOutBinds<T>

ToOutBinds<T>: T extends object
    ? {
        [key in keyof T]: NonNullable<T[key]> extends unknown[]
            ? undefined extends T[key]
                ? NonNullable<T[key]> | undefined
                : T[key]
            : undefined extends T[key]
                ? Exclude<T[key], undefined>[] | undefined
                : T[key][]
    }
    : T

Transform non-array properties on an object to arrays, as Oracle's outBinds is always an array

Type Parameters

  • T

Generated using TypeDoc