aboutsummaryrefslogtreecommitdiff
path: root/src/modules/word
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/word')
-rw-r--r--src/modules/word/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/word/index.ts b/src/modules/word/index.ts
index 4faa4352..725c0c42 100644
--- a/src/modules/word/index.ts
+++ b/src/modules/word/index.ts
@@ -28,10 +28,10 @@ function filterWordListByLength(options: {
/**
* Module to return various types of words.
*/
-export class Word {
+export class WordModule {
constructor(private readonly faker: Faker) {
// Bind `this` so namespaced is working correctly
- for (const name of Object.getOwnPropertyNames(Word.prototype)) {
+ for (const name of Object.getOwnPropertyNames(WordModule.prototype)) {
if (name === 'constructor' || typeof this[name] !== 'function') {
continue;
}