diff options
Diffstat (limited to 'src/modules/database')
| -rw-r--r-- | src/modules/database/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/database/index.ts b/src/modules/database/index.ts index 87494315..8a4291f9 100644 --- a/src/modules/database/index.ts +++ b/src/modules/database/index.ts @@ -3,10 +3,10 @@ import type { Faker } from '../..'; /** * Module to generate database related entries. */ -export class Database { +export class DatabaseModule { constructor(private readonly faker: Faker) { // Bind `this` so namespaced is working correctly - for (const name of Object.getOwnPropertyNames(Database.prototype)) { + for (const name of Object.getOwnPropertyNames(DatabaseModule.prototype)) { if (name === 'constructor' || typeof this[name] !== 'function') { continue; } |
