mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 09:13:07 +02:00
nuke some use of any
This commit is contained in:
@@ -50,12 +50,11 @@ export class MoneySourceTracker {
|
||||
}
|
||||
|
||||
// Serialize the current object to a JSON save state.
|
||||
toJSON(): any {
|
||||
toJSON(): IReviverValue {
|
||||
return Generic_toJSON("MoneySourceTracker", this);
|
||||
}
|
||||
|
||||
// Initiatizes a MoneySourceTracker object from a JSON save state.
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
static fromJSON(value: IReviverValue): MoneySourceTracker {
|
||||
return Generic_fromJSON(MoneySourceTracker, value.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user