edwardanthony / nestjs-seeder

An extension library for NestJS to perform seeding.
MIT License
102 stars 21 forks source link

Cannot find type definition file for 'faker'. #17

Closed yukicoding closed 3 years ago

yukicoding commented 3 years ago

Hi , i got some trouble,how can i deal with them

node_modules/nestjs-seeder/dist/decorators/factory.decorator.d.ts:2:23 - error TS2688: Cannot find type definition file for 'faker'.

2 ///


node_modules/nestjs-seeder/dist/decorators/factory.decorator.d.ts:5:54 - error TS2503: Cannot find namespace 'Faker'.

5 export declare type FactoryValueGenerator = (faker?: Faker.FakerStatic, ctx?: Record<string, any>) => FactoryValue;
Nikolamuric commented 3 years ago

I can see this issue on my side now image

Please help me !, thanks

Nikolamuric commented 3 years ago

Fixed issue:

npm i @types/faker

Thanks