• Traverses the router tree up to the root route.

    Parameters

    Returns {
        depth: number;
        tree: RouterTree;
    }

    • depth: number
    • tree: RouterTree
""