aboutsummaryrefslogtreecommitdiff
path: root/test/modules
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-09-24 01:24:37 +0200
committerGitHub <[email protected]>2023-09-23 23:24:37 +0000
commit24415ee993a9c6e3c8f0dffa544f492dcb29463c (patch)
treebce36d80dbd989b8cd9fbbf47be411d14fd167d4 /test/modules
parent74eecccd3af702d8a1d8072f94032ccb54293cb1 (diff)
downloadfaker-24415ee993a9c6e3c8f0dffa544f492dcb29463c.tar.xz
faker-24415ee993a9c6e3c8f0dffa544f492dcb29463c.zip
infra: lint all existing jsdocs (#2408)
Diffstat (limited to 'test/modules')
-rw-r--r--test/modules/location.spec.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/modules/location.spec.ts b/test/modules/location.spec.ts
index e363c188..054669a5 100644
--- a/test/modules/location.spec.ts
+++ b/test/modules/location.spec.ts
@@ -12,7 +12,9 @@ function kilometersToMiles(miles: number) {
}
/**
- * Returns the number of decimal places a number has
+ * Returns the number of decimal places a number has.
+ *
+ * @param num The number to check.
*/
function precision(num: number): number {
const decimalPart = num.toString().split('.')[1];