DOC: ns.scan(): typo fixes

Some typographical fixes in the documentation of the function `ns.scan()`.  The function returns an array, not a string.
This commit is contained in:
Duck McSouls
2022-10-09 15:55:23 +11:00
parent f803355335
commit 67f5d60116

View File

@ -5156,8 +5156,8 @@ export interface NS {
* node way from the specified target server. The hostnames in the returned
* array are strings.
*
* @param host - Optional, Hostname of the server to scan, default to current server.
* @returns Returns an string of hostnames.
* @param host - Optional. Hostname of the server to scan, default to current server.
* @returns Returns an array of hostnames.
*/
scan(host?: string): string[];