mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
DOCUMENTATION: Clarify type of returned value of ns.gang.getOtherGangInformation (#1882)
This commit is contained in:
7
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
7
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user