---
url: /reference/TypeAlias.ReplacementFunction.md
---
# Type Alias: ReplacementFunction

* **Type**: (`substring`, ...`args`) => `string`

## Parameters

### substring

`string`

### args

...`any`\[]

## Returns

`string`
