diff options
| author | Matt Mayer <[email protected]> | 2024-10-13 21:29:23 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-13 14:29:23 +0000 |
| commit | 522e7386a7205e260832e2bfae0331e8a0161d5f (patch) | |
| tree | e0a94aed7e0aa80bbbbc2d3976f954cd1640612c /src/definitions | |
| parent | a8dfa2fcde59a1ec9e5beb2e93c690a8ec532cdf (diff) | |
| download | faker-522e7386a7205e260832e2bfae0331e8a0161d5f.tar.xz faker-522e7386a7205e260832e2bfae0331e8a0161d5f.zip | |
refactor(location): support multiple postcode_by_state patterns (#3170)
Diffstat (limited to 'src/definitions')
| -rw-r--r-- | src/definitions/location.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/definitions/location.ts b/src/definitions/location.ts index 9fbda95f..5b4a4bc3 100644 --- a/src/definitions/location.ts +++ b/src/definitions/location.ts @@ -8,7 +8,7 @@ export type LocationDefinition = LocaleEntry<{ * Postcodes patterns by state */ postcode_by_state: { - [state: string]: string; + [state: string]: string | string[]; }; /** |
