mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
MISC: Change how enums are exposed in NetscriptDefinitions.d.ts (#1998)
This commit is contained in:
@@ -9,14 +9,14 @@ Commit a crime.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
commitCrime(crime: CrimeType | `${CrimeType}`, focus?: boolean): number;
|
||||
commitCrime(crime: CrimeType, focus?: boolean): number;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| crime | [CrimeType](./bitburner.crimetype.md) \| \`${[CrimeType](./bitburner.crimetype.md)<!-- -->}\` | Name of crime to attempt. |
|
||||
| crime | [CrimeType](./bitburner.crimetype.md) | Name of crime to attempt. |
|
||||
| focus | boolean | _(Optional)_ Acquire player focus on this crime. Optional. Defaults to true. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Reference in New Issue
Block a user