@fkui/logic
    Preparing search index...

    Type Alias PathMap<T, Depth>

    PathMap: {
        [K in keyof T & ValidKey]: T[K] extends object
            ? `${K}`
            | Join<K, NestedKeys<T[K], Prev<Depth>>>
            : `${K}`
    }

    Internal helper: "Flattens" the object one level deep.

    This generates a mapped type where the keys are the property names, and the values are the calculated paths (current key + nested paths).

    Type Parameters

    • T
    • Depth extends number
    // Input: { user: { name: string } }
    // Output: { user: "user" | "user.name" }

    v6.38.0