mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-28 11:57:07 +02:00
API: Updating typing for ns.singularity.getCurrentWork() (#989)
This commit is contained in:
@@ -82,9 +82,9 @@ export class CrimeWork extends Work {
|
||||
/** nothing to do */
|
||||
}
|
||||
|
||||
APICopy(): Record<string, unknown> {
|
||||
APICopy() {
|
||||
return {
|
||||
type: this.type,
|
||||
type: WorkType.CRIME as const,
|
||||
cyclesWorked: this.cyclesWorked,
|
||||
crimeType: this.crimeType,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user