diff options
Diffstat (limited to 'src/modules/datatype')
| -rw-r--r-- | src/modules/datatype/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/datatype/index.ts b/src/modules/datatype/index.ts index 1a516736..9991175d 100644 --- a/src/modules/datatype/index.ts +++ b/src/modules/datatype/index.ts @@ -5,10 +5,10 @@ import { deprecated } from '../../internal/deprecated'; /** * Module to generate various primitive values and data types. */ -export class Datatype { +export class DatatypeModule { constructor(private readonly faker: Faker) { // Bind `this` so namespaced is working correctly - for (const name of Object.getOwnPropertyNames(Datatype.prototype)) { + for (const name of Object.getOwnPropertyNames(DatatypeModule.prototype)) { if (name === 'constructor' || typeof this[name] !== 'function') { continue; } |
