> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baenninger.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Records

Der Utility-Typ `Record` erzeugt einen Objekttyp, dessen Schlüssel von einem bestimmten Typ sind und dessen Werte von einem anderen bestimmten Typ sind.

```typescript theme={null}
type UserAges = Record<string, number>;

const userAges: UserAges = {
  Alice: 30,
  Bob: 25,
  Charlie: 35,
};
```
