> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/text/wrapper/wrapped/types.md).

# Types

### `WrappedText<Text, Opening, Closing>`

The type represents the wrapped text of a generic type variables in order [`Text`](/text/wrapper/wrapped/generic-type-variables.md#text), [`Opening`](/text/wrapper/wrapped/generic-type-variables.md#opening) and [`Closing`](/text/wrapper/wrapped/generic-type-variables.md#closing) on the template.

{% code title="wrapped-text.type.ts" %}

```typescript
type WrappedText<
  Text extends string,
  Opening extends string,
  Closing extends string
> = `${Opening}${Text}${Closing}`;
```

{% endcode %}
