---
url: >-
  https://lit-ui-router.dev/reference/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:359](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/ui-router-registry/src/registry.ts#L359)

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

## Type Parameters

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