mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
MISC: Use FactionName enum in relevant APIs (#2101)
This commit is contained in:
@@ -9,14 +9,14 @@ Join a faction.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
joinFaction(faction: string): boolean;
|
||||
joinFaction(faction: FactionName): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| faction | string | Name of faction to join. |
|
||||
| faction | [FactionName](./bitburner.factionname.md) | Name of faction to join. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user