aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar audothomas <122476057+audothomas@users.noreply.github.com> 2023-07-31 02:53:22 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-30 17:53:22 -0700
commit2ea7290172da21f4a9cd58232bf9c1ea0997d6e2 (patch)
treeaa8d01974f739448dc04aa89642c9998357cbd64
parent092ada6d2f31212754e17ab944168463c2d2d327 (diff)
downloadbun-2ea7290172da21f4a9cd58232bf9c1ea0997d6e2.tar.gz
bun-2ea7290172da21f4a9cd58232bf9c1ea0997d6e2.tar.zst
bun-2ea7290172da21f4a9cd58232bf9c1ea0997d6e2.zip
FIx Uint8Array to a ReadableStream code snippet (#3895)
-rw-r--r--docs/guides/binary/typedarray-to-readablestream.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guides/binary/typedarray-to-readablestream.md b/docs/guides/binary/typedarray-to-readablestream.md
index e60b6df2e..3be9e29d5 100644
--- a/docs/guides/binary/typedarray-to-readablestream.md
+++ b/docs/guides/binary/typedarray-to-readablestream.md
@@ -28,7 +28,7 @@ const stream = blob.stream();
The chunk size can be set by passing a number to the `.stream()` method.
-```
+```ts
const arr = new Uint8Array(64);
const blob = new Blob([arr]);