From b10f00c94f147c7576472345d0cee0a08dc37f4a Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Wed, 20 Apr 2022 17:42:45 +0200 Subject: [PATCH] refactor: readonly default modules (#854) --- src/faker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/faker.ts b/src/faker.ts index 14cb107d36f..278e0219485 100644 --- a/src/faker.ts +++ b/src/faker.ts @@ -55,11 +55,11 @@ export class Faker { readonly unique: Unique['unique'] = new Unique().unique; readonly mersenne: Mersenne = new Mersenne(); - random: Random = new Random(this); + readonly random: Random = new Random(this); readonly helpers: Helpers = new Helpers(this); - datatype: Datatype = new Datatype(this); + readonly datatype: Datatype = new Datatype(this); readonly address: Address = new Address(this); readonly animal: Animal = new Animal(this);