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
@@ -9,7 +9,7 @@ Set the job assignment for a job.
**Signature:**
```typescript
setAutoJobAssignment(divisionName: string, city: CityName | `${CityName}`, job: string, amount: number): boolean;
setAutoJobAssignment(divisionName: string, city: CityName, job: string, amount: number): boolean;
```
## Parameters
@@ -17,7 +17,7 @@ setAutoJobAssignment(divisionName: string, city: CityName | `${CityName}`, job:
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | Name of the division |
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the city |
| city | [CityName](./bitburner.cityname.md) | Name of the city |
| job | string | Name of the job |
| amount | number | Number of employees to assign to that job |