diff options
Diffstat (limited to 'src/modules/address')
| -rw-r--r-- | src/modules/address/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/address/index.ts b/src/modules/address/index.ts index 7f8660cd..695d8249 100644 --- a/src/modules/address/index.ts +++ b/src/modules/address/index.ts @@ -4,10 +4,10 @@ import { deprecated } from '../../internal/deprecated'; /** * Module to generate addresses and locations. */ -export class Address { +export class AddressModule { constructor(private readonly faker: Faker) { // Bind `this` so namespaced is working correctly - for (const name of Object.getOwnPropertyNames(Address.prototype)) { + for (const name of Object.getOwnPropertyNames(AddressModule.prototype)) { if (name === 'constructor' || typeof this[name] !== 'function') { continue; } |
