Yes, and generating those unions from a const array gives you even further flexibility with runtime access: `const myStrArray = ["a", "b", "c"] as const; type MyStrType = typeof myStrArray[number];`
"Earlier this year, Nestlé spun off its North American bottled-water group to two private equity firms for $4.3 billion." "If the order is upheld and goes into force, Nestlé face fines up to $1,000 per day or ten-times…
Yes, and generating those unions from a const array gives you even further flexibility with runtime access: `const myStrArray = ["a", "b", "c"] as const; type MyStrType = typeof myStrArray[number];`
"Earlier this year, Nestlé spun off its North American bottled-water group to two private equity firms for $4.3 billion." "If the order is upheld and goes into force, Nestlé face fines up to $1,000 per day or ten-times…