mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
API: Updating typing for ns.singularity.getCurrentWork() (#989)
This commit is contained in:
@@ -9,11 +9,11 @@ Get the current work the player is doing.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
getCurrentWork(): any | null;
|
||||
getCurrentWork(): Task | null;
|
||||
```
|
||||
**Returns:**
|
||||
|
||||
any \| null
|
||||
[Task](./bitburner.task.md) \| null
|
||||
|
||||
- An object representing the current work. Fields depend on the kind of work.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user