---
url: >-
  https://lit-ui-router.dev/api/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:318](https://github.com/simshanith/lit-ui-router/blob/251586fb2ad2b81ffe14422bb417dff339b69e07/packages/ui-router-registry/src/registry.ts#L318)

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

## Type Parameters

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