Typscript -Array -Zeichenfolge zu Array Literal
const furniture = ['chair', 'table', 'lamp'] as const;
type Furniture = typeof furniture[number];
florinrelea
const furniture = ['chair', 'table', 'lamp'] as const;
type Furniture = typeof furniture[number];