> For the complete documentation index, see [llms.txt](https://type.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://type.angular-package.dev/type/anystring.md).

# AnyString

## `AnyString`

A [`string`](https://www.typescriptlang.org/docs/handbook/basic-types.html#string) type or an instance of a [`String`](https://www.typescriptlang.org/docs/handbook/basic-types.html#string).

```typescript
type AnyString = string | String;
```
