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

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

## Type Parameters

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