---
url: >-
  https://lit-ui-router.dev/v1/reference/ui-router-server/fetch/type-aliases/DelegateHandlers.md
---
[ui-router-server](../../index.md) / [fetch](../index.md) / DelegateHandlers

# Type Alias: DelegateHandlers\<Args, Decls>

```ts
type DelegateHandlers<Args, Decls> = { readonly [K in DelegateKey<Decls>]: DelegateHandler<Args> } & {
[key: string]: DelegateHandler<Args>;
};
```

Defined in: fetch.ts:159

The `delegates` option: a handler for every key a router's states name,
extra keys allowed. Every handler shares the adapter's one `Args`.

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
|  `Args` *extends* `unknown`\[] | \[] |
|  `Decls` *extends* [`RouteDeclaration`](../../redirects/interfaces/RouteDeclaration.md) | [`RouteDeclaration`](../../redirects/interfaces/RouteDeclaration.md) |
