Kfg Documentation
    Preparing search index...

    Type Alias RootPaths<T>

    RootPaths: T extends object
        ? {
            [K in keyof T]: K extends string
                ? T[K] extends ReadonlyArray<any>
                    ? K
                    : T[K] extends object ? K | `${K}.${RootPaths<T[K]>}` : never
                : never
        }[keyof T]
        : never

    Represents a path to a value in an object.

    Type Parameters

    • T

      The type of the object.