File

src/country.interface.ts

Index

Properties

Properties

altSpellings
altSpellings: [string]
Type : [string]
area
area: number
Type : number
borders
borders: [string]
Type : [string]
callingCode
callingCode: [number]
Type : [number]
capital
capital: string
Type : string
cca2
cca2: string
Type : string
cca3
cca3: string
Type : string
ccn3
ccn3: string
Type : string
cioc
cioc: string
Type : string
currency
currency: [string]
Type : [string]
demonym
demonym: string
Type : string
landlocked
landlocked: boolean
Type : boolean
languages
languages: literal type
Type : literal type
latlng
latlng: [number]
Type : [number]
name
name: literal type
Type : literal type
region
region: string
Type : string
subregion
subregion: string
Type : string
tld
tld: [string]
Type : [string]
translations
translations: literal type
Type : literal type
export interface ICountry {
  name: {
    common: string;
    official: string;
    native?: {
      [key: string]: {
        official: string;
        common: string;
      }
    }
  };
  tld: [string];
  cca2: string;
  ccn3: string;
  cca3: string;
  cioc: string;
  currency: [string];
  callingCode: [number];
  capital: string;
  altSpellings: [string];
  region: string;
  subregion: string;
  languages: {
    bar: string
  };
  translations: {
    [key: string]: {
      official: string;
      common: string;
    };
  };
  latlng: [number];
  demonym: string;
  landlocked: boolean;
  borders: [string];
  area: number;
}

results matching ""

    No results matching ""