---
url: >-
  https://lit-ui-router.dev/v1/reference/ui-router-registry/index/type-aliases/LineageOf.md
---
[ui-router-registry](../../index.md) / [ui-router-registry](../index.md) / LineageOf

# Type Alias: LineageOf\<N>

```ts
type LineageOf<N> = [DeclarationOf<N>] extends [never] ? never : N | LineageOf<ParentName<DeclarationOf<N>>>;
```

Defined in: registry.ts:369

The state and its ancestors, by name.

## Type Parameters

| Type Parameter |
| ------ |
|  `N` |
