String tablicy typercript do tablicy literał

const furniture = ['chair', 'table', 'lamp'] as const;
type Furniture = typeof furniture[number];
florinrelea