Closed
Description
Which Cloudflare product(s) does this pertain to?
Workers Runtime
What version(s) of the tool(s) are you using?
n/a
What version of Node are you using?
n/a
What operating system are you using?
n/a
Describe the Bug
Workers tail events will turn undefined
into null
, which confuses users as these types don't overlap & issues such as if (undefined === null)
are not picked up by TypeScript.
This isn't an issue with Wrangler specifically, the same behaviour is observed in the tail events shown in the dashboard.
Discord link: https://discord.com/channels/595317990191398933/779390076219686943/1149351316112539718
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response