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

# Type Alias: TargetArgs\<T, Options>

```ts
type TargetArgs<T, Options> = T extends StateName ? ParamArgs<T, Options> : [params?: RawParams, options?: Options];
```

Defined in: [registry.ts:405](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/ui-router-registry/src/registry.ts#L405)

The arguments after a target: typed for a state name, loose otherwise.

## Type Parameters

| Type Parameter |
| ------ |
|  `T` |
|  `Options` |
