diff options
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/web/streams/writable_stream_default_writer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/web/streams/writable_stream_default_writer.ts b/cli/js/web/streams/writable_stream_default_writer.ts index cd6b71044..444a77aa9 100644 --- a/cli/js/web/streams/writable_stream_default_writer.ts +++ b/cli/js/web/streams/writable_stream_default_writer.ts @@ -31,7 +31,7 @@ export class WritableStreamDefaultWriterImpl<W> throw new TypeError("Invalid stream."); } if (isWritableStreamLocked(stream)) { - throw new TypeError("Cannot create a reader for a locked stream."); + throw new TypeError("Cannot create a writer for a locked stream."); } this[sym.ownerWritableStream] = stream; stream[sym.writer] = this; |