Commit 66ad15a
Fix Uint8Array to BlobPart type compatibility for TypeScript 5.9
TypeScript 5.9.2 (shipped with Deno 2.6.3) no longer considers
Uint8Array directly assignable to BlobPart. This fixes the type error
by extracting the underlying ArrayBuffer with slice() before creating
the Blob.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 81aafef commit 66ad15a
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
402 | 407 | | |
403 | 408 | | |
404 | 409 | | |
| |||
0 commit comments