You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to setup seeding with typeorm-extension. It seems that it does not work to define the type of the Faker instance for the setSeederFactory. When defining the type it says that faker is missing some types.
Argument of type'(faker: Faker) => User' is not assignable to parameter of type'FactoryCallback<User, unknown>'.
Types of parameters 'faker' and 'faker' are incompatible.
Type 'Faker' is missing the following properties from type'Faker': book, foodts(2345)
Am I doing something wrong here? Is it not allowed to define the Faker type? Or am I using the wrong faker version?
Versions
Reproduction
I am currently trying to setup seeding with typeorm-extension. It seems that it does not work to define the type of the Faker instance for the
setSeederFactory
. When defining the type it says that faker is missing some types.I get following error from my VS Code
Am I doing something wrong here? Is it not allowed to define the Faker type? Or am I using the wrong faker version?
My package.json
The text was updated successfully, but these errors were encountered: