aboutsummaryrefslogtreecommitdiff
path: root/src/modules/animal
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/animal')
-rw-r--r--src/modules/animal/index.ts9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/modules/animal/index.ts b/src/modules/animal/index.ts
index 09d7f9e1..7e5a51da 100644
--- a/src/modules/animal/index.ts
+++ b/src/modules/animal/index.ts
@@ -1,5 +1,4 @@
-import type { Faker } from '../..';
-import { bindThisToMemberFunctions } from '../../internal/bind-this-to-member-functions';
+import { ModuleBase } from '../../internal/module-base';
/**
* Module to generate animal related entries.
@@ -12,11 +11,7 @@ import { bindThisToMemberFunctions } from '../../internal/bind-this-to-member-fu
*
* All values may be localized.
*/
-export class AnimalModule {
- constructor(private readonly faker: Faker) {
- bindThisToMemberFunctions(this);
- }
-
+export class AnimalModule extends ModuleBase {
/**
* Returns a random dog breed.
*