---
url: >-
  https://lit-ui-router.dev/v1/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

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

## Type Parameters

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