From 7d4d99f00bf1e29c14346bd6a9fab33c8e7d5743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leyla=20J=C3=A4hnig?= Date: Fri, 25 Nov 2022 16:59:10 +0100 Subject: feat(number): move methods to new module (#1122) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ST-DDT Co-authored-by: Eric Cheng Co-authored-by: Leyla Jähnig Co-authored-by: Shinigami92 --- src/modules/random/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/random') 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++) { -- cgit v1.2.3