Skip to content

Type Alias: Country

ts
type Country = (typeof Country)[number];

Type representing a single country object from the Country array.

Example

typescript
const usa: Country = {
  name: "United States",
  alpha2: "US",
  alpha3: "USA",
  citizenship: undefined,
  states: [],
};