# withTransforms

- Module: [Aspire.Hosting.Yarp](/reference/api/typescript/aspire.hosting.yarp.md)
- Version: `13.4.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Set the Transforms of the destination

## Definition

```typescript
interface YarpRoute {
  // ... omitted for brevity
  withTransforms(transforms: Dict<string,string>[]): YarpRoute
}
```

## Parameters

- `transforms` (`Dict<string,string>[]`)

## Returns

[YarpRoute](/reference/api/typescript/aspire.hosting.yarp/yarproute.md)

## Applies to

- [YarpRoute](/reference/api/typescript/aspire.hosting.yarp/yarproute.md)
