---
url: https://lit-ui-router.dev/api/ui-router-registry/type-aliases/ParamsOf.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:267](https://github.com/simshanith/lit-ui-router/blob/ddf02fc88fff5fb67c4114e4f613e773e2b76df2/packages/ui-router-registry/src/registry.ts#L267)

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

## Type Parameters

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