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/helpers/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/helpers') diff --git a/src/modules/helpers/index.ts b/src/modules/helpers/index.ts index 9e9a3f5b..f6aa55ac 100644 --- a/src/modules/helpers/index.ts +++ b/src/modules/helpers/index.ts @@ -9,10 +9,10 @@ import * as uniqueExec from './unique'; * Module with various helper methods that transform the method input rather than returning values from locales. * The transformation process may call methods that use the locale data. */ -export class Helpers { +export class HelpersModule { constructor(private readonly faker: Faker) { // Bind `this` so namespaced is working correctly - for (const name of Object.getOwnPropertyNames(Helpers.prototype)) { + for (const name of Object.getOwnPropertyNames(HelpersModule.prototype)) { if (name === 'constructor' || typeof this[name] !== 'function') { continue; } -- cgit v1.2.3