Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Sen <raisinten@gmail.com>2021-03-04 18:45:00 +0300
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2021-03-06 20:53:45 +0300
commitd63b7170443b74de68703e98f4594529d057a4cb (patch)
tree76e0546a03457fb985d0ec1bd6ea0dc047b155ab /doc/api/readline.md
parent8de1e19cabe514c5f52dce72c1932eeacdfe8b70 (diff)
doc: add return type of readline.createInterface
PR-URL: https://github.com/nodejs/node/pull/37600 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/readline.md')
-rw-r--r--doc/api/readline.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/readline.md b/doc/api/readline.md
index 1acec195a35..4a8d8f20ac0 100644
--- a/doc/api/readline.md
+++ b/doc/api/readline.md
@@ -601,6 +601,7 @@ changes:
**Default:** `500`.
* `tabSize` {integer} The number of spaces a tab is equal to (minimum 1).
**Default:** `8`.
+* Returns: {readline.Interface}
The `readline.createInterface()` method creates a new `readline.Interface`
instance.