From 2ea7290172da21f4a9cd58232bf9c1ea0997d6e2 Mon Sep 17 00:00:00 2001 From: audothomas <122476057+audothomas@users.noreply.github.com> Date: Mon, 31 Jul 2023 02:53:22 +0200 Subject: FIx Uint8Array to a ReadableStream code snippet (#3895) --- docs/guides/binary/typedarray-to-readablestream.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/guides/binary') 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]); -- cgit v1.2.3