mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
DOCUMENTATION: Remove mention of NS2 in NetscriptDefinitions.d.ts (#2200)
This commit is contained in:
@@ -27,7 +27,5 @@ void
|
||||
|
||||
RAM cost: 0 GB
|
||||
|
||||
NS2 exclusive
|
||||
|
||||
Each script can only register one callback per callback ID. If another callback is registered with the same callback ID the previous callback with that ID is forgotten and will not be executed when the script dies.
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ RAM cost: 0 GB
|
||||
|
||||
## Example
|
||||
|
||||
Usage example (NS2)
|
||||
|
||||
```js
|
||||
const styles = ns.ui.getStyles();
|
||||
|
||||
@@ -28,7 +28,6 @@ RAM cost: 0 GB
|
||||
|
||||
## Example
|
||||
|
||||
Usage example (NS2)
|
||||
|
||||
```js
|
||||
const theme = ns.ui.getTheme();
|
||||
|
||||
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -6056,7 +6056,6 @@ interface UserInterface {
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
* @example
|
||||
* Usage example (NS2)
|
||||
* ```js
|
||||
* const theme = ns.ui.getTheme();
|
||||
* theme.primary = '#ff5500';
|
||||
@@ -6086,7 +6085,6 @@ interface UserInterface {
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
* @example
|
||||
* Usage example (NS2)
|
||||
* ```js
|
||||
* const styles = ns.ui.getStyles();
|
||||
* styles.fontFamily = 'Comic Sans Ms';
|
||||
@@ -8152,8 +8150,6 @@ export interface NS {
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
*
|
||||
* NS2 exclusive
|
||||
*
|
||||
* Each script can only register one callback per callback ID.
|
||||
* If another callback is registered with the same callback ID
|
||||
* the previous callback with that ID is forgotten and will not be executed when the script dies.
|
||||
|
||||
Reference in New Issue
Block a user