mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-02 05:47:14 +02:00
Switch ts and babel for swc-loader
Replace old <> assertion syntax
This commit is contained in:
@@ -214,9 +214,9 @@ export class Sleeve extends Person {
|
||||
// Success
|
||||
const successGainRates: ITaskTracker = createTaskTracker();
|
||||
|
||||
const keysForIteration: (keyof ITaskTracker)[] = <
|
||||
(keyof ITaskTracker)[]
|
||||
>Object.keys(successGainRates);
|
||||
const keysForIteration: (keyof ITaskTracker)[] = Object.keys(
|
||||
successGainRates,
|
||||
) as (keyof ITaskTracker)[];
|
||||
for (let i = 0; i < keysForIteration.length; ++i) {
|
||||
const key = keysForIteration[i];
|
||||
successGainRates[key] = this.gainRatesForTask[key] * 2;
|
||||
|
||||
Reference in New Issue
Block a user