@webdeveric/utils
    Preparing search index...

    Type Alias AllPaths<TargetPath>

    AllPaths: TargetPath extends `${infer Head}.${infer Tail}`
        ? Head
        | `${Head}.${AllPaths<Tail>}`
        : TargetPath

    Get a union of all intermediate paths, ending with TargetPath

    Type Parameters

    • TargetPath extends PropertyKey