Documentation
    Preparing search index...

    Type Alias PathsToStringProps<T>

    PathsToStringProps: T extends string
    | number
    | boolean
    | null
    | undefined
        ? never
        : T extends (infer U)[]
            ?
                | "[]"
                | `[${number}]`
                | `[${number}:${number}]`
                | `[${number}:]`
                | `[:${number}]`
                | "[:]"
                | PathsToStringProps<U>
            : T extends object
                ? {
                    [K in keyof T & (string | number)]: K extends string
                        ? `.${K}`
                        | `.${K}?`
                        | `.${K}${PathsToStringProps<T[K]>}`
                        : `[${K}]` | `[${K}]?` | `[${K}]${PathsToStringProps<T[K]>}`
                }[keyof T & (string | number)]
                : never

    Extracts all possible paths from a data structure as string literals

    Type Parameters

    • T