@r47onfire/nebula - v0.0.0
    Preparing search index...

    Type Alias PathValue<T, P>

    PathValue: number extends P["length"]
        ? any
        : P extends readonly [infer H, ...(infer R extends PropertyKey[])]
            ? H extends keyof T ? PathValue<T[H], R> : never
            : T

    The type of the value found at the end of path P in T. An empty path gives T itself. A path that is not a fixed-length tuple cannot be resolved statically and gives any.

    Type Parameters

    • T
    • P extends readonly PropertyKey[]