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

# Type Alias: ExclusiveMarkers\<Decls>

```ts
type ExclusiveMarkers<Decls> = [Extract<Decls, {
  delegate: string;
  response: true;
}>] extends [never] ? unknown : {
  responseAndDelegate: Extract<Decls, {
     delegate: string;
     response: true;
  }>["name"];
};
```

Defined in: [index.ts:315](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/ui-router-server/src/index.ts#L315)

Rejects, at compile time, an `as const` row that is both a response state
and a delegate: it requires a property naming the offending states.

## Type Parameters

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