mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-05 07:07:50 +02:00
DOCUMENTATION: Fix missing/wrong TSDoc of APIs having optional host parameter (#2371)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
## NS.getServer() method
|
||||
|
||||
Returns a server object for the given server. Defaults to the running script's server if host is not specified.
|
||||
Returns a server object for the given server.
|
||||
|
||||
**Signature:**
|
||||
|
||||
@@ -42,7 +42,7 @@ string
|
||||
|
||||
</td><td>
|
||||
|
||||
_(Optional)_ Optional. Hostname/IP for the requested server object.
|
||||
_(Optional)_ Optional. Hostname/IP for the requested server object. Defaults to the server the calling script is running on.
|
||||
|
||||
|
||||
</td></tr>
|
||||
|
||||
Reference in New Issue
Block a user