aboutsummaryrefslogtreecommitdiff
path: root/src/modules/random
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/random')
-rw-r--r--src/modules/random/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/random/index.ts b/src/modules/random/index.ts
index cb81935b..21e46509 100644
--- a/src/modules/random/index.ts
+++ b/src/modules/random/index.ts
@@ -151,7 +151,7 @@ export class RandomModule {
const words: string[] = [];
if (count == null) {
- count = this.faker.datatype.number({ min: 1, max: 3 });
+ count = this.faker.number.int({ min: 1, max: 3 });
}
for (let i = 0; i < count; i++) {