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
+2 -2
View File
@@ -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,
};