aboutsummaryrefslogtreecommitdiff
path: root/src/modules/git
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-09-09 01:18:57 +0800
committerGitHub <[email protected]>2022-09-08 17:18:57 +0000
commitb9884d098d6e14001da36acfba6fbfebdcef8fea (patch)
tree255dc8698618dfdb0de268f6f3db9bca94b84e83 /src/modules/git
parent1fe2877d0c6b237b3d1a5b6b29c4749578a8f9a4 (diff)
downloadfaker-b9884d098d6e14001da36acfba6fbfebdcef8fea.tar.xz
faker-b9884d098d6e14001da36acfba6fbfebdcef8fea.zip
feat(modules): export module interfaces (#932)
Diffstat (limited to 'src/modules/git')
-rw-r--r--src/modules/git/index.ts4
1 files changed, 2 insertions, 2 deletions
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;
}