aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2022-04-20 17:42:45 +0200
committerGitHub <[email protected]>2022-04-20 17:42:45 +0200
commitb10f00c94f147c7576472345d0cee0a08dc37f4a (patch)
tree3587288c1d0b55e34fa77d41ae304c9c4d7feddd /src
parent3a5a2f27ba755874edd75fb852774b8b9b2c4ced (diff)
downloadfaker-b10f00c94f147c7576472345d0cee0a08dc37f4a.tar.xz
faker-b10f00c94f147c7576472345d0cee0a08dc37f4a.zip
refactor: readonly default modules (#854)
Diffstat (limited to 'src')
-rw-r--r--src/faker.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/faker.ts b/src/faker.ts
index 14cb107d..278e0219 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);