mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
added rs to backricks to color code syntax
This commit is contained in:
@@ -17,13 +17,15 @@ export interface NS extends Singularity
|
||||
|
||||
<b>Basic ns1 usage example:</b>
|
||||
|
||||
```
|
||||
```ts
|
||||
property.methodName;
|
||||
```
|
||||
[ns1 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html) <hr> <b>Basic ns2 usage example:</b>
|
||||
|
||||
```
|
||||
ns.property.methodName;
|
||||
```ts
|
||||
export async function main(ns) {
|
||||
ns.property.methodName;
|
||||
}
|
||||
```
|
||||
[ns2 in-game docs](https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user