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
Argument of type 'import("/Users/aorlov/Projects/properti-api/node_modules/cron/dist/job").CronJob<null, null>' is not assignable to parameter of type 'import("/Users/aorlov/Projects/properti-api/node_modules/@nestjs/schedule/node_modules/cron/dist/job").CronJob<null, null>'.
Types of property 'cronTime' are incompatible.
Type 'import("/Users/aorlov/Projects/properti-api/node_modules/cron/dist/time").CronTime' is not assignable to type 'import("/Users/aorlov/Projects/properti-api/node_modules/@nestjs/schedule/node_modules/cron/dist/time").CronTime'.
Types have separate declarations of a private property 'second'.ts(2345)
Is there an existing issue for this?
Current behavior
"nest": "10.3.2"
"@nestjs/schedule": "^4.0.1"
"@types/cron": "^2.4.0"
"cron": "^3.1.7",
Error:
Minimum reproduction code
https:github.com
Steps to reproduce
Expected behavior
The cronJob singleton should be able to be accepted by the addCronJob method as a parameter without any typescript errors.
Package version
4.0.1
NestJS version
10.3.2
cron version
3.1.3
Node.js version
v21.2.0
In which operating systems have you tested?
Other
cron": "^3.1.7
The text was updated successfully, but these errors were encountered: