Before we can flip the main handler codebase to TS, we need to know that the exported index.js which is not longer authored directly, remains a working CloudFlare module when deployed.
To really do this we need an end-to-end tests against the index.js by putting it through a high fidelity simulator of the cloudflare environment (e.g. miniflare). With that in place, it would be safe to convert the whole project to TS/bun
Before we can flip the main handler codebase to TS, we need to know that the exported
index.js
which is not longer authored directly, remains a working CloudFlare module when deployed.To really do this we need an end-to-end tests against the index.js by putting it through a high fidelity simulator of the cloudflare environment (e.g. miniflare). With that in place, it would be safe to convert the whole project to TS/bun