mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 06:02:26 +01:00
added rs to backricks to color code syntax
This commit is contained in:
parent
687682fcbd
commit
632e1f70f3
8
dist/bitburner.d.ts
vendored
8
dist/bitburner.d.ts
vendored
@ -2126,14 +2126,16 @@ export declare interface NodeStats {
|
|||||||
* @public
|
* @public
|
||||||
* @remarks
|
* @remarks
|
||||||
* <b>Basic ns1 usage example:</b>
|
* <b>Basic ns1 usage example:</b>
|
||||||
* ```
|
* ```ts
|
||||||
* 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>
|
||||||
* <b>Basic ns2 usage example:</b>
|
* <b>Basic ns2 usage example:</b>
|
||||||
* ```
|
* ```ts
|
||||||
* ns.property.methodName;
|
* export async function main(ns) {
|
||||||
|
* 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 * ```\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 * ```\n * ns.property.methodName;\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 * <b>Basic ns1 usage example:</b>\n * ```ts\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 * 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": [
|
"excerptTokens": [
|
||||||
{
|
{
|
||||||
"kind": "Content",
|
"kind": "Content",
|
||||||
|
@ -17,13 +17,15 @@ export interface NS extends Singularity
|
|||||||
|
|
||||||
<b>Basic ns1 usage example:</b>
|
<b>Basic ns1 usage example:</b>
|
||||||
|
|
||||||
```
|
```ts
|
||||||
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>
|
||||||
|
|
||||||
```
|
```ts
|
||||||
ns.property.methodName;
|
export async function main(ns) {
|
||||||
|
ns.property.methodName;
|
||||||
|
}
|
||||||
```
|
```
|
||||||
[ns2 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html)
|
[ns2 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html)
|
||||||
|
|
||||||
|
8
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
8
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -3709,14 +3709,16 @@ interface Stanek {
|
|||||||
* @public
|
* @public
|
||||||
* @remarks
|
* @remarks
|
||||||
* <b>Basic ns1 usage example:</b>
|
* <b>Basic ns1 usage example:</b>
|
||||||
* ```
|
* ```ts
|
||||||
* 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>
|
||||||
* <b>Basic ns2 usage example:</b>
|
* <b>Basic ns2 usage example:</b>
|
||||||
* ```
|
* ```ts
|
||||||
* ns.property.methodName;
|
* export async function main(ns) {
|
||||||
|
* 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}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user