---
url: /api/symbols/unplugin-pwa-core/stringliteralunion.md
---

# StringLiteralUnion

Type Alias @unplugin-pwa/core

type StringLiteralUnion<'maskable'> = 'maskable' | string
This has auto completion whereas `'maskable' | string` doesn't
Adapted from https://github.com/microsoft/TypeScript/issues/29729

```ts
type StringLiteralUnion = T | U & Nothing
```
