MISC: Change how enums are exposed in NetscriptDefinitions.d.ts (#1998)

This commit is contained in:
catloversg
2025-05-10 16:28:48 +07:00
committed by GitHub
parent 7db15a6bd2
commit 22ee7fca2c
144 changed files with 1628 additions and 1458 deletions
@@ -11,9 +11,9 @@ Set material export data.
```typescript
exportMaterial(
sourceDivision: string,
sourceCity: CityName | `${CityName}`,
sourceCity: CityName,
targetDivision: string,
targetCity: CityName | `${CityName}`,
targetCity: CityName,
materialName: string,
amt: number | string,
): void;
@@ -24,9 +24,9 @@ exportMaterial(
| Parameter | Type | Description |
| --- | --- | --- |
| sourceDivision | string | Source division |
| sourceCity | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Source city |
| sourceCity | [CityName](./bitburner.cityname.md) | Source city |
| targetDivision | string | Target division |
| targetCity | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Target city |
| targetCity | [CityName](./bitburner.cityname.md) | Target city |
| materialName | string | Name of the material |
| amt | number \| string | Amount of material to export. |