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
4 changed files with 3 additions and 21 deletions

View File

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