---
url: >-
  https://lit-ui-router.dev/reference/ui-router-server/index/interfaces/TrailingSlashPolicy.md
---
[ui-router-server](../../index.md) / [ui-router-server](../index.md) / TrailingSlashPolicy

# Interface: TrailingSlashPolicy

Defined in: [trailing-slash.ts:22](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/trailing-slash.ts#L22)

A trailing-slash spelling per kind of state, each `'as-requested'` unless
given. A delegating state's url belongs to its host handler, so it is
always `'as-requested'`.

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `pages?` | [`TrailingSlash`](../type-aliases/TrailingSlash.md) | States answered with a page: neither a response state nor a delegate. | [trailing-slash.ts:24](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/trailing-slash.ts#L24) |
|  `responses?` | [`TrailingSlash`](../type-aliases/TrailingSlash.md) | Response states (see [\`response\`](../../redirects/interfaces/RouteDeclaration.md#response)). | [trailing-slash.ts:26](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/ui-router-server/src/trailing-slash.ts#L26) |
