Skip to content

Commit 82b779d

Browse files
feat(location): Support ISO 3166-1 numeric country codes (#2325)
1 parent cb33664 commit 82b779d

7 files changed

Lines changed: 329 additions & 272 deletions

File tree

src/definitions/location.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export type LocationDefinition = LocaleEntry<{
4444
/**
4545
* The [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country codes.
4646
*/
47-
country_code: Array<{ alpha2: string; alpha3: string }>;
47+
country_code: Array<{ alpha2: string; alpha3: string; numeric: string }>;
4848

4949
/**
5050
* The names of this country's states, or other first-level administrative areas.

0 commit comments

Comments
 (0)