We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab54bd5 commit ffe3186Copy full SHA for ffe3186
1 file changed
src/index.ts
@@ -12,6 +12,7 @@ import { Name } from './name';
12
import { Random } from './random';
13
import { System } from './system';
14
import { Time } from './time';
15
+import { Word } from './word';
16
17
export interface FakerOptions {
18
locales?: string[];
@@ -192,7 +193,7 @@ export class Faker {
192
193
readonly system: System = new System(this);
194
readonly time: Time = new Time();
195
readonly vehicle = new (require('./vehicle'))(this);
- readonly word = new (require('./word'))(this);
196
+ readonly word: Word = new Word(this);
197
198
constructor(opts: FakerOptions = {}) {
199
this.locales = this.locales || opts.locales || {};
0 commit comments