API: Updating typing for ns.singularity.getCurrentWork() (#989)

This commit is contained in:
Rinne
2023-12-27 08:06:45 -03:00
committed by GitHub
parent 550829a1c3
commit eba840dcd3
47 changed files with 514 additions and 29 deletions

View File

@@ -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.