Type Alias: CountryName
ts
type CountryName = (typeof CountryName)[number];Type representing any valid country name from the dataset.
This creates a union type of all country name strings, providing type safety when working with country names.
Example
typescript
const myCountry: CountryName = "Canada"; // ✓ Valid
const invalidCountry: CountryName = "Invalid"; // ✗ TypeScript error