Skip to content

Commit 92553aa

Browse files
MohdImran001Shinigami92
authored andcommitted
feat: import company in index.ts
1 parent 7b02094 commit 92553aa

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/company.ts

Whitespace-only changes.

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Datatype } from './datatype';
22
import { Mersenne } from './mersenne';
33
import { Random } from './random';
4+
import { Company } from './company';
45

56
export interface FakerOptions {
67
locales?: string[];
@@ -164,7 +165,7 @@ export class Faker {
164165
readonly address = new (require('./address'))(this);
165166
readonly animal = new (require('./animal'))(this);
166167
readonly commerce = new (require('./commerce'))(this);
167-
readonly company = new (require('./company'))(this);
168+
readonly company: Company = new Company(this);
168169
readonly database = new (require('./database'))(this);
169170
readonly date = new (require('./date'))(this);
170171
readonly finance = new (require('./finance'))(this);

0 commit comments

Comments
 (0)