From 97ebcdddcc861595eb892e271505ad38b2abbc64 Mon Sep 17 00:00:00 2001 From: Merlin Luntke <22600241+Luntke@users.noreply.github.com> Date: Mon, 1 Mar 2021 15:39:52 +0100 Subject: [PATCH] doc: fix typos in /doc/api/fs.md PR-URL: https://github.com/nodejs/node/pull/37557 Reviewed-By: Rich Trott Reviewed-By: Darshan Sen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Michael Dawson Reviewed-By: Pooja D P --- doc/api/fs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 134e0cf6dfb575..d87f73a15f593f 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -382,7 +382,7 @@ added: v10.0.0 --> * `len` {integer} **Default:** `0` -* Returns: {Promise} Fulfills with `undefined` upo nsuccess. +* Returns: {Promise} Fulfills with `undefined` upon success. Truncates the file. @@ -847,7 +847,7 @@ changes: **Default:** `'r'`. * `mode` {string|integer} Sets the file mode (permission and sticky bits) if the file is created. **Default:** `0o666` (readable and writable) -* Returns: {Promise} Fullfils with a {FileHandle} object. +* Returns: {Promise} Fulfills with a {FileHandle} object. Opens a {FileHandle}. @@ -1001,7 +1001,7 @@ added: v10.0.0 * Returns: {Promise} Fulfills with the `linkString` upon success. Reads the contents of the symbolic link referred to by `path`. See the POSIX -readlink(2) documentation for more etail. The promise is resolved with the +readlink(2) documentation for more detail. The promise is resolved with the `linkString` upon success. The optional `options` argument can be a string specifying an encoding, or an