aboutsummaryrefslogtreecommitdiff
path: root/src/modules/location
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-02-19 20:32:33 +0100
committerGitHub <[email protected]>2024-02-19 20:32:33 +0100
commit25f2a0326b1103c8a47a06156d43d71d2d72b7fa (patch)
treeee5e7939a56a187f063d02998334706a1a5aa5e3 /src/modules/location
parentaccf42c636b7ecea220676b7bc5dd2822bc97ed2 (diff)
downloadfaker-25f2a0326b1103c8a47a06156d43d71d2d72b7fa.tar.xz
faker-25f2a0326b1103c8a47a06156d43d71d2d72b7fa.zip
docs: more jsdoc fixes (#2668)
Diffstat (limited to 'src/modules/location')
-rw-r--r--src/modules/location/index.ts6
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
*