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 796612d commit bc63608Copy full SHA for bc63608
src/lib/seeds/FactoryInterface.ts
@@ -9,9 +9,9 @@ export interface FactoryInterface {
9
/**
10
* Returns an EntityFactoryInterface
11
*/
12
- get<Entity>(entityClass: ObjectType<Entity>, args: any[]): EntityFactoryInterface<Entity>;
+ get<Entity>(entityClass: ObjectType<Entity>, value?: any): EntityFactoryInterface<Entity>;
13
14
* Define an entity faker
15
16
- define<Entity>(entityClass: ObjectType<Entity>, fakerFunction: (faker: typeof Faker, args: any[]) => Entity): void;
+ define<Entity>(entityClass: ObjectType<Entity>, fakerFunction: (faker: typeof Faker, value?: any) => Entity): void;
17
}
0 commit comments