From b9884d098d6e14001da36acfba6fbfebdcef8fea Mon Sep 17 00:00:00 2001 From: Shinigami Date: Fri, 9 Sep 2022 01:18:57 +0800 Subject: feat(modules): export module interfaces (#932) --- src/modules/git/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/git') diff --git a/src/modules/git/index.ts b/src/modules/git/index.ts index da1dfab7..d92e3454 100644 --- a/src/modules/git/index.ts +++ b/src/modules/git/index.ts @@ -3,10 +3,10 @@ import type { Faker } from '../..'; /** * Module to generate git related entries. */ -export class Git { +export class GitModule { constructor(private readonly faker: Faker) { // Bind `this` so namespaced is working correctly - for (const name of Object.getOwnPropertyNames(Git.prototype)) { + for (const name of Object.getOwnPropertyNames(GitModule.prototype)) { if (name === 'constructor' || typeof this[name] !== 'function') { continue; } -- cgit v1.2.3