i18n-iso-countries
Advanced tools
Comparing version 6.2.0 to 6.2.1
export interface GetNameOptions { | ||
select: 'all' | 'official' | 'alias'; | ||
}; | ||
} | ||
@@ -13,3 +13,5 @@ export type CountryName<T extends GetNameOptions> = T extends { select: 'all' } ? string[] : string | ||
locale: string, | ||
countries: LocalizedCountryNames | ||
countries: { | ||
[alpha2Key: string]: string[] | string | ||
} | ||
}; | ||
@@ -65,3 +67,3 @@ | ||
*/ | ||
export function getNames(lang: string): LocalizedCountryNames; | ||
export function getNames(lang: string): LocalizedCountryNames<{ select: 'official' }>; | ||
@@ -68,0 +70,0 @@ /** |
{ | ||
"name": "i18n-iso-countries", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "i18n for ISO 3166-1 country codes", | ||
@@ -5,0 +5,0 @@ "typings": "index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
441397
15226