From 38ae4077c770c2fd12eff7198a58265db9ef6ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 11 Jul 2021 17:51:31 +0200 Subject: [PATCH] doc: fix typos in Web Streams API documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/39351 Reviewed-By: Michaƫl Zasso Reviewed-By: Gus Caplan Reviewed-By: Luigi Pinca Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- doc/api/webstreams.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index 90667c1c1bb28c..e40850ef8531bb 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -352,7 +352,7 @@ method to acquire the async iterator and set the `preventCancel` option to The {ReadableStream} must not be locked (that is, it must not have an existing active reader). During the async iteration, the {ReadableStream} will be locked. -#### Transfering with `postMessage()` +#### Transferring with `postMessage()` A {ReadableStream} instance can be transferred using a {MessagePort}. @@ -554,7 +554,7 @@ the pooled `Buffer` instances. When a `Buffer`, {TypedArray}, or {DataView} is passed in to `readableStreamBYOBReader.read()`, the view's underlying `ArrayBuffer` is *detached*, invalidating all existing views that may exist on that `ArrayBuffer`. This -can have disasterous consequences for your application. +can have disastrous consequences for your application. #### `readableStreamBYOBReader.releaseLock()`