DOCUMENTATION: Remove mention of NS2 in NetscriptDefinitions.d.ts (#2200)

This commit is contained in:
catloversg
2025-06-15 14:00:54 +07:00
committed by GitHub
parent 3c8099dc6b
commit e5bfa641e1
4 changed files with 0 additions and 8 deletions

View File

@@ -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.

View File

@@ -28,7 +28,6 @@ RAM cost: 0 GB
## Example
Usage example (NS2)
```js
const styles = ns.ui.getStyles();

View File

@@ -28,7 +28,6 @@ RAM cost: 0 GB
## Example
Usage example (NS2)
```js
const theme = ns.ui.getTheme();

View File

@@ -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.