added syntax useage to github ns page

This commit is contained in:
Jordan Turner
2021-12-15 10:10:32 -07:00
parent ab24e4865e
commit 687682fcbd
8 changed files with 58 additions and 43 deletions

View File

@@ -3707,6 +3707,18 @@ interface Stanek {
/**
* Collection of all functions passed to scripts
* @public
* @remarks
* <b>Basic ns1 usage example:</b>
* ```
* property.methodName;
* ```
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html| ns1 in-game docs}
* <hr>
* <b>Basic ns2 usage example:</b>
* ```
* ns.property.methodName;
* ```
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html| ns2 in-game docs}
*/
export interface NS extends Singularity {
/**