Skip to content

Commit

Permalink
Merge branch 'next' into chore/fallback-ascii-email-addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Dec 2, 2022
2 parents cdb5d4f + 5e51335 commit d461e30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ export class LocationModule {
}

/**
* Generates a random localized city name.
* Generates a random fictional city name for the locale.
*
* @example
* faker.location.city() // 'East Jarretmouth'
* faker.locale = 'de'; faker.location.city() // 'Bad Lilianadorf'
*
* @since 8.0.0
*/
Expand All @@ -81,10 +82,11 @@ export class LocationModule {
}

/**
* Returns a random localized and existing city name.
* Returns a random city name from a list of real cities for the locale.
*
* @example
* faker.location.cityName() // 'San Rafael'
* faker.locale = 'de'; faker.location.cityName() // 'Nürnberg'
*
* @since 8.0.0
*/
Expand Down

0 comments on commit d461e30

Please sign in to comment.