Skip to content

Commit bc63608

Browse files
author
hirsch88
committed
Fix factory interface issue
1 parent 796612d commit bc63608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/seeds/FactoryInterface.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export interface FactoryInterface {
99
/**
1010
* Returns an EntityFactoryInterface
1111
*/
12-
get<Entity>(entityClass: ObjectType<Entity>, args: any[]): EntityFactoryInterface<Entity>;
12+
get<Entity>(entityClass: ObjectType<Entity>, value?: any): EntityFactoryInterface<Entity>;
1313
/**
1414
* Define an entity faker
1515
*/
16-
define<Entity>(entityClass: ObjectType<Entity>, fakerFunction: (faker: typeof Faker, args: any[]) => Entity): void;
16+
define<Entity>(entityClass: ObjectType<Entity>, fakerFunction: (faker: typeof Faker, value?: any) => Entity): void;
1717
}

0 commit comments

Comments
 (0)