From 53a8cbe9bd132b46a2b9bbb6da6d0d9727cae7fb Mon Sep 17 00:00:00 2001 From: Jordan Turner Date: Wed, 15 Dec 2021 22:17:54 -0700 Subject: [PATCH] have to re commit for some reason sry same as before semi colons --- dist/bitburner.d.ts | 4 ++-- input/bitburner.api.json | 2 +- markdown/bitburner.ns.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/bitburner.d.ts b/dist/bitburner.d.ts index f892cee8e..2819851e0 100644 --- a/dist/bitburner.d.ts +++ b/dist/bitburner.d.ts @@ -2130,7 +2130,7 @@ export declare interface NodeStats { * // Basic ns functions can be used directly * methodName(); * // 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} *
@@ -2140,7 +2140,7 @@ export declare interface NodeStats { * // Basic ns functions can be accessed on the ns object * await ns.methodName; * // 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} diff --git a/input/bitburner.api.json b/input/bitburner.api.json index 23a6155d9..fed345ce6 100644 --- a/input/bitburner.api.json +++ b/input/bitburner.api.json @@ -14221,7 +14221,7 @@ { "kind": "Interface", "canonicalReference": "bitburner!NS:interface", - "docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @remarks\n *\n * Basic ns1 usage example:\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}
Basic ns2 usage example:\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}
\n *\n * @public\n */\n", + "docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @remarks\n *\n * Basic ns1 usage example:\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}
Basic ns2 usage example:\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}
\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", diff --git a/markdown/bitburner.ns.md b/markdown/bitburner.ns.md index 717e5efd0..d41db6b36 100644 --- a/markdown/bitburner.ns.md +++ b/markdown/bitburner.ns.md @@ -21,7 +21,7 @@ export interface NS extends Singularity // Basic ns functions can be used directly methodName(); // 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)
Basic ns2 usage example: @@ -30,7 +30,7 @@ export async function main(ns) { // Basic ns functions can be accessed on the ns object await ns.methodName; // 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)