[BUG] Attachment.content IS `ArrayBuffer` rather than`Uint8Array`
Closed this issue · 1 comments
repo-ooo commented
After days of painful debugging in the Cloudflare Email Workers environment, I finally discovered that Attachment.content
is an ArrayBuffer
rather than Uint8Array
, which can cause encoding issues in other js libraries because ArrayBuffer
does not have a .length
property.
Please correct the type declaration.
andris9 commented