mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 02:03:01 +02:00
DOCUMENTATION: Fix missing/wrong TSDoc of APIs having optional host parameter (#2371)
This commit is contained in:
@@ -9,7 +9,7 @@ Get the execution time of a hack() call.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
getHackTime(host: string): number;
|
||||
getHackTime(host?: string): number;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -42,7 +42,7 @@ string
|
||||
|
||||
</td><td>
|
||||
|
||||
Hostname/IP of target server.
|
||||
_(Optional)_ Hostname/IP of target server. Optional. Defaults to the server the calling script is running on.
|
||||
|
||||
|
||||
</td></tr>
|
||||
|
||||
Reference in New Issue
Block a user