mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
MISC: Change how enums are exposed in NetscriptDefinitions.d.ts (#1998)
This commit is contained in:
@@ -9,7 +9,7 @@ Make a sleeve travel to another city. The cost for using this function is the sa
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
travel(sleeveNumber: number, city: CityName | `${CityName}`): boolean;
|
||||
travel(sleeveNumber: number, city: CityName): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -17,7 +17,7 @@ travel(sleeveNumber: number, city: CityName | `${CityName}`): boolean;
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| sleeveNumber | number | Index of the sleeve to travel. |
|
||||
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the destination city. |
|
||||
| city | [CityName](./bitburner.cityname.md) | Name of the destination city. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user