diff options
Diffstat (limited to 'src/modules/location')
| -rw-r--r-- | src/modules/location/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts index 54766d8a..fee40fd2 100644 --- a/src/modules/location/index.ts +++ b/src/modules/location/index.ts @@ -629,9 +629,9 @@ export class LocationModule extends ModuleBase { * * @example * faker.location.longitude() // -30.9501 - * faker.location.longitude({ max: 10 }) // 5.7225 - * faker.location.longitude({ max: 10, min: -10 }) // -9.6273 - * faker.location.longitude({ max: 10, min: -10, precision: 5 }) // 2.68452 + * faker.location.longitude(10) // 5.7225 + * faker.location.longitude(10, -10) // -9.6273 + * faker.location.longitude(10, -10, 5) // 2.68452 * * @since 8.0.0 * |
