aboutsummaryrefslogtreecommitdiff
path: root/src/modules/datatype
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/datatype')
-rw-r--r--src/modules/datatype/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/datatype/index.ts b/src/modules/datatype/index.ts
index a81a9681..df2cac87 100644
--- a/src/modules/datatype/index.ts
+++ b/src/modules/datatype/index.ts
@@ -49,7 +49,7 @@ export class Datatype {
}
if (max < min) {
- throw new FakerError(`Max ${max} should be larger then min ${min}.`);
+ throw new FakerError(`Max ${max} should be greater than min ${min}.`);
}
const randomNumber = Math.floor(