File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ function renderToWebStream(
88
88
**Usage **
89
89
90
90
` ` ` js
91
- // e.g. inside a Cloudflare Worker
91
+ // e.g. inside an environment with ReadableStream support
92
92
return new Response(renderToWebStream(app))
93
93
` ` `
94
94
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export function renderToWebStream(
129
129
) : ReadableStream {
130
130
if ( ! Ctor && ! hasGlobalWebStream ) {
131
131
throw new Error (
132
- `ReadableStream constructor is not avaialbe in the global scope and ` +
132
+ `ReadableStream constructor is not available in the global scope and ` +
133
133
`must be explicitly passed in as the 3rd argument:\n\n` +
134
134
` import { ReadableStream } from 'stream/web'\n` +
135
135
` const stream = renderToWebStream(app, {}, ReadableStream)`
You can’t perform that action at this time.
0 commit comments