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

# Interface: Replace

Defined in: url-matcher.ts:270

An input rewrite applied before typing (absent/empty/squash handling).

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `from` | `unknown` | The raw input value to rewrite. | url-matcher.ts:272 |
|  `to` | `unknown` | What it becomes (`undefined` triggers the param's default). | url-matcher.ts:274 |
