[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
@InjectRepository from @nestjs/typeorm throw this error :
when I run npm run test.
Expected behavior
In the file node_modules/@nestjs/typeorm/dist/common/typeorm.utils.js:16:26 the variable typeorm_1.Repository should be of class/object/function type.
Minimal reproduction of the problem with instructions
Here is the repo. You just need run npm install && npm run test to see error.
What is the motivation / use case for changing the behavior?
I'm submitting a...
Current behavior
@InjectRepository
from@nestjs/typeorm
throw this error : when I runnpm run test
.Expected behavior
In the file
node_modules/@nestjs/typeorm/dist/common/typeorm.utils.js:16:26
the variabletypeorm_1.Repository
should be of class/object/function type.Minimal reproduction of the problem with instructions
Here is the repo. You just need run
npm install && npm run test
to see error.What is the motivation / use case for changing the behavior?
Environment