work on making the netscript api tighter

This commit is contained in:
Olivier Gagnon
2021-11-03 20:19:52 -04:00
parent c5fb5155f3
commit 14150d3e33
270 changed files with 11011 additions and 1273 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ Get a copy of the data from a port without popping it.
<b>Signature:</b>
```typescript
peek(port: number): string | number | object;
peek(port: number): any;
```
## Parameters
@@ -20,7 +20,7 @@ peek(port: number): string | number | object;
<b>Returns:</b>
string \| number \| object
any
Data in the specified port.