mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 09:13:07 +02:00
Switch ts and babel for swc-loader
Replace old <> assertion syntax
This commit is contained in:
@@ -38,7 +38,7 @@ export class MoneySourceTracker {
|
||||
return;
|
||||
}
|
||||
|
||||
(<number>this[sanitizedSource]) += amt;
|
||||
(this[sanitizedSource] as number) += amt;
|
||||
this.total += amt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user