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
Using this library when Typescript is configured with moduleResolution: "NodeNext", type definitions can fail to load. This is resolved by including the type definitions in the exports map of package.json.
Hey @drfuzzyness. Could you try cron-schedule@4.0.0-next.2? The library is now ESM only and should support conditional exports with moduleResolution: "NodeNext".
The only relevant breaking change for you should be that the schedulers are no longer exposed in the default export, but need to be manually imported from cron-schedule/schedulers/interval-based.js or cron-schedule/schedulers/timer-based.js.
Using this library when Typescript is configured with
moduleResolution: "NodeNext"
, type definitions can fail to load. This is resolved by including thetype
definitions in theexports
map ofpackage.json
.cron-schedule/package.json
Lines 32 to 35 in 0bff686
The following patch fixes it:
The text was updated successfully, but these errors were encountered: