diff options
author | Roman Reiss <me@silverwind.io> | 2017-02-04 16:15:33 +0100 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2017-03-02 17:55:45 +0100 |
commit | ff1361957df58ef92c8a9dfce40c6091ea3a21d4 (patch) | |
tree | 10721c2b86095033930bffc4e52cf38d40033f16 /doc/api/readline.md | |
parent | ebe8c3debeea708ca69b8724dda9ad9c5c32e72c (diff) | |
download | android-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.tar.gz android-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.tar.bz2 android-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.zip |
doc: consistent case for primitive types
PR-URL: https://github.com/nodejs/node/pull/11167
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc/api/readline.md')
-rw-r--r-- | doc/api/readline.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/readline.md b/doc/api/readline.md index 10164bc788..878721bb4d 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -237,7 +237,7 @@ If the `readline.Interface` was created with `output` set to `null` or added: v0.3.3 --> -* `query` {String} A statement or query to write to `output`, prepended to the +* `query` {string} A statement or query to write to `output`, prepended to the prompt. * `callback` {Function} A callback function that is invoked with the user's input in response to the `query`. @@ -276,7 +276,7 @@ The `rl.resume()` method resumes the `input` stream if it has been paused. added: v0.1.98 --> -* `prompt` {String} +* `prompt` {string} The `rl.setPrompt()` method sets the prompt that will be written to `output` whenever `rl.prompt()` is called. @@ -286,12 +286,12 @@ whenever `rl.prompt()` is called. added: v0.1.98 --> -* `data` {String} +* `data` {string} * `key` {Object} * `ctrl` {boolean} `true` to indicate the `<ctrl>` key. * `meta` {boolean} `true` to indicate the `<Meta>` key. * `shift` {boolean} `true` to indicate the `<Shift>` key. - * `name` {String} The name of the a key. + * `name` {string} The name of the a key. The `rl.write()` method will write either `data` or a key sequence identified by `key` to the `output`. The `key` argument is supported only if `output` is @@ -467,7 +467,7 @@ added: v0.7.7 * `stream` {Writable} * `dx` {number} -* `dy` {Number} +* `dy` {number} The `readline.moveCursor()` method moves the cursor *relative* to its current position in a given [TTY][] `stream`. |