Skip to content

Commit

Permalink
feat(location): Support ISO 3166-1 numeric country codes (#2325)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinvanderVliet authored Sep 15, 2023
1 parent cb33664 commit 82b779d
Show file tree
Hide file tree
Showing 7 changed files with 329 additions and 272 deletions.
2 changes: 1 addition & 1 deletion src/definitions/location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export type LocationDefinition = LocaleEntry<{
/**
* The [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country codes.
*/
country_code: Array<{ alpha2: string; alpha3: string }>;
country_code: Array<{ alpha2: string; alpha3: string; numeric: string }>;

/**
* The names of this country's states, or other first-level administrative areas.
Expand Down
Loading

0 comments on commit 82b779d

Please sign in to comment.