mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
have to re commit for some reason sry same as before semi colons
This commit is contained in:
Vendored
+2
-2
@@ -2130,7 +2130,7 @@ export declare interface NodeStats {
|
|||||||
* // Basic ns functions can be used directly
|
* // Basic ns functions can be used directly
|
||||||
* methodName();
|
* methodName();
|
||||||
* // Some related functions are gathered within a common namespace
|
* // Some related functions are gathered within a common namespace
|
||||||
* property.methodName()
|
* property.methodName();
|
||||||
* ```
|
* ```
|
||||||
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html| ns1 in-game docs}
|
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html| ns1 in-game docs}
|
||||||
* <hr>
|
* <hr>
|
||||||
@@ -2140,7 +2140,7 @@ export declare interface NodeStats {
|
|||||||
* // Basic ns functions can be accessed on the ns object
|
* // Basic ns functions can be accessed on the ns object
|
||||||
* await ns.methodName;
|
* await ns.methodName;
|
||||||
* // Some related functions are gathered under a sub-property of the ns object
|
* // Some related functions are gathered under a sub-property of the ns object
|
||||||
* await ns.property.methodName
|
* await ns.property.methodName;
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html| ns2 in-game docs}
|
* {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html| ns2 in-game docs}
|
||||||
|
|||||||
@@ -14221,7 +14221,7 @@
|
|||||||
{
|
{
|
||||||
"kind": "Interface",
|
"kind": "Interface",
|
||||||
"canonicalReference": "bitburner!NS:interface",
|
"canonicalReference": "bitburner!NS:interface",
|
||||||
"docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @remarks\n *\n * <b>Basic ns1 usage example:</b>\n * ```ts\n * // Basic ns functions can be used directly\n * methodName();\n * // Some related functions are gathered within a common namespace\n * property.methodName()\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html | ns1 in-game docs} <hr> <b>Basic ns2 usage example:</b>\n * ```ts\n * export async function main(ns) {\n * // Basic ns functions can be accessed on the ns object\n * await ns.methodName;\n * // Some related functions are gathered under a sub-property of the ns object\n * await ns.property.methodName\n * }\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html | ns2 in-game docs} <hr>\n *\n * @public\n */\n",
|
"docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @remarks\n *\n * <b>Basic ns1 usage example:</b>\n * ```ts\n * // Basic ns functions can be used directly\n * methodName();\n * // Some related functions are gathered within a common namespace\n * property.methodName();\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html | ns1 in-game docs} <hr> <b>Basic ns2 usage example:</b>\n * ```ts\n * export async function main(ns) {\n * // Basic ns functions can be accessed on the ns object\n * await ns.methodName;\n * // Some related functions are gathered under a sub-property of the ns object\n * await ns.property.methodName;\n * }\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html | ns2 in-game docs} <hr>\n *\n * @public\n */\n",
|
||||||
"excerptTokens": [
|
"excerptTokens": [
|
||||||
{
|
{
|
||||||
"kind": "Content",
|
"kind": "Content",
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export interface NS extends Singularity
|
|||||||
// Basic ns functions can be used directly
|
// Basic ns functions can be used directly
|
||||||
methodName();
|
methodName();
|
||||||
// Some related functions are gathered within a common namespace
|
// Some related functions are gathered within a common namespace
|
||||||
property.methodName()
|
property.methodName();
|
||||||
```
|
```
|
||||||
[ns1 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html) <hr> <b>Basic ns2 usage example:</b>
|
[ns1 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html) <hr> <b>Basic ns2 usage example:</b>
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ export async function main(ns) {
|
|||||||
// Basic ns functions can be accessed on the ns object
|
// Basic ns functions can be accessed on the ns object
|
||||||
await ns.methodName;
|
await ns.methodName;
|
||||||
// Some related functions are gathered under a sub-property of the ns object
|
// Some related functions are gathered under a sub-property of the ns object
|
||||||
await ns.property.methodName
|
await ns.property.methodName;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
[ns2 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html) <hr>
|
[ns2 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html) <hr>
|
||||||
|
|||||||
Reference in New Issue
Block a user