DOCUMENTATION: Clarify type of returned value of ns.gang.getOtherGangInformation (#1882)

This commit is contained in:
catloversg 2025-01-05 07:21:17 +07:00 committed by GitHub
parent ef87174e3f
commit bcbaf3e224
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 3 additions and 21 deletions

@ -9,11 +9,11 @@ Get information about the other gangs.
**Signature:**
```typescript
getOtherGangInformation(): GangOtherInfo;
getOtherGangInformation(): Record<string, GangOtherInfoObject>;
```
**Returns:**
[GangOtherInfo](./bitburner.gangotherinfo.md)
Record&lt;string, [GangOtherInfoObject](./bitburner.gangotherinfoobject.md)<!-- -->&gt;
Object containing territory and power information about all gangs.

@ -1,12 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangOtherInfo](./bitburner.gangotherinfo.md)
## GangOtherInfo interface
**Signature:**
```typescript
interface GangOtherInfo
```

@ -79,7 +79,6 @@
| [GangMemberAscension](./bitburner.gangmemberascension.md) | |
| [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
| [GangMemberInstall](./bitburner.gangmemberinstall.md) | |
| [GangOtherInfo](./bitburner.gangotherinfo.md) | |
| [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
| [GangTaskStats](./bitburner.gangtaskstats.md) | Object representing data representing a gang member task. |
| [GangTerritory](./bitburner.gangterritory.md) | |

@ -858,11 +858,6 @@ interface GangOtherInfoObject {
territory: number;
}
/** @public */
interface GangOtherInfo {
[key: string]: GangOtherInfoObject;
}
/**
* Object representing data representing a gang member task.
* @public
@ -4022,7 +4017,7 @@ export interface Gang {
*
* @returns Object containing territory and power information about all gangs.
*/
getOtherGangInformation(): GangOtherInfo;
getOtherGangInformation(): Record<string, GangOtherInfoObject>;
/**
* Get information about a specific gang member.