Currently TS is not supported by strapi. But you can compile your code from TS to plain JS and use it in cron.js.
Also there are some workarounds on github. But I would not recommend to use them.
1 Like
Currently TS is not supported by strapi. But you can compile your code from TS to plain JS and use it in cron.js.
Also there are some workarounds on github. But I would not recommend to use them.