---
url: https://lit-ui-router.dev/api/ui-router-mobx/type-aliases/TypedStoreName.md
---
[ui-router-mobx](../index.md) / TypedStoreName

# Type Alias: TypedStoreName

```ts
type TypedStoreName = RouteTypes extends {
  snapshots: infer S;
} ? keyof S & string : never;
```

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

The state names `RouterStore.includes` narrows the store by: the keys
of [RouteTypes](../interfaces/RouteTypes.md)' `snapshots`, or none until it is filled in.
