aboutsummaryrefslogtreecommitdiff
path: root/src/modules/phone
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/phone')
-rw-r--r--src/modules/phone/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/phone/index.ts b/src/modules/phone/index.ts
index 2571014d..1f0d16a3 100644
--- a/src/modules/phone/index.ts
+++ b/src/modules/phone/index.ts
@@ -4,10 +4,10 @@ import { deprecated } from '../../internal/deprecated';
/**
* Module to generate phone-related data.
*/
-export class Phone {
+export class PhoneModule {
constructor(private readonly faker: Faker) {
// Bind `this` so namespaced is working correctly
- for (const name of Object.getOwnPropertyNames(Phone.prototype)) {
+ for (const name of Object.getOwnPropertyNames(PhoneModule.prototype)) {
if (name === 'constructor' || typeof this[name] !== 'function') {
continue;
}