SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Type Alias OneOf<T>

    OneOf: {
        [K in keyof T]: Required<Pick<T, K>> & Partial<
            Record<Exclude<keyof T, K>, never>,
        >
    }[keyof T]

    A utility type that represents an object with exactly one property from the given type T.

    Type Parameters

    • T extends object

    Creates an XOR relationship between the properties of T, ensuring that only one property can be set at a time.