mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-08 11:29:19 +01:00
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:
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -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[];
|
||||
|
||||
|
Reference in New Issue
Block a user