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

# Type Alias: ParamsOf\<N>

```ts
type ParamsOf<N> = IsRegistered extends true ? Simplify<LineageParams<N, "input"> & HashParam> : RawParams;
```

Defined in: [registry.ts:272](https://github.com/simshanith/lit-ui-router/blob/251586fb2ad2b81ffe14422bb417dff339b69e07/packages/ui-router-registry/src/registry.ts#L272)

The params a state accepts: its own and its ancestors', defaults optional.

## Type Parameters

| Type Parameter |
| ------ |
|  `N` *extends* [`StateName`](StateName.md) |
