---
url: https://lit-ui-router.dev/api/ui-router-signals/interfaces/RouteTypes.md
---
[ui-router-signals](../index.md) / RouteTypes

# Interface: RouteTypes

Defined in: [ui-router-signals/src/route-types.ts:25](https://github.com/simshanith/lit-ui-router/blob/1109c63617d74f05a59f57777e3cd930c2380cf2/packages/ui-router-signals/src/route-types.ts#L25)

Typed route snapshots, filled in by module augmentation. Empty, the
snapshot is [RouteSnapshot](RouteSnapshot.md), as it always has been; nothing here
emits JavaScript.

An app or a registry such as `ui-router-registry` fills it in. Its member:

* `snapshot`: the type `RouterSignals.route` holds, a typed view of
  [RouteSnapshot](RouteSnapshot.md) whose `includes(name)` narrows `current` and
  `params`.

```ts
declare module 'ui-router-signals' {
  interface RouteTypes {
    snapshot: AppRouteSnapshot;
  }
}
```
