> ## 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.

# Globals

Manchmal musst du in deinem Code auf eine globale Variable oder Funktion verweisen. Ein gutes Beispiel hierfür ist der Verweis auf `window` im Browser. In TypeScript kannst du das globale Schlüsselwort verwenden, um eine Variable oder Funktion zu deklarieren, die im globalen Bereich verfügbar ist.

```typescript theme={null}
declare global {
  interface Window {
    username: string;
  }
}
```
