export const markets = ['au', 'br', 'de'] as const; export type Market = typeof markets[number]; markets.forEach((market: Market) => { console.log(market); });