UNPKG

@locale-tools/countries

Version:

Countries of the world and relational data

13 lines (12 loc) 365 B
import { ISO639_3 } from "@locale-tools/languages"; export declare type ShortNameSchema = { common: string; official: string; }; export declare type LanguageKeyedName = { [key in ISO639_3]: ShortNameSchema; }; export declare type NameSchema = ShortNameSchema & { native?: LanguageKeyedName | string | null; alternates?: string[]; };