MISC: Use FactionName enum in relevant APIs (#2101)

This commit is contained in:
catloversg
2025-05-11 12:13:22 +07:00
committed by GitHub
parent 178da0fb5a
commit 4044b4a223
20 changed files with 62 additions and 54 deletions

View File

@@ -9,14 +9,14 @@ Get faction reputation.
**Signature:**
```typescript
getFactionRep(faction: string): number;
getFactionRep(faction: FactionName): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| faction | string | Name of faction to work for. |
| faction | [FactionName](./bitburner.factionname.md) | Name of faction to work for. |
**Returns:**