mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
API: Add a way to get the list of all factions (#1457)
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
|
||||
## CodingContractData type
|
||||
|
||||
Coding contract data will differ depending on coding contract.
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
type CodingContractData = any;
|
||||
export type CodingContractData<T extends string> = T extends `${keyof CodingContractSignatures}`
|
||||
? CodingContractSignatures[T][0]
|
||||
: any;
|
||||
```
|
||||
**References:** [CodingContractSignatures](./bitburner.codingcontractsignatures.md)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user